|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.pd.jadmin.PDTodAccessInfo
public class PDTodAccessInfo
Security Access Manager Time-of-Day (TOD) Access Information class.
The TOD Access information class represents information needed to specify access to a given resource based on time-of-day constraints.
Modes: Local,Remote
Constructor Summary | |
---|---|
PDTodAccessInfo(long days,
long startTime,
long endTime,
int timezone,
java.util.Locale locale,
PDMessages messages)
Constructs a PDTodAccessInfo object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
long |
getDays()
Returns a bitmap of the days for the time-of-day policy as specified by the PDPOLICY_TOD_* constants defined in the PDPolicy class. |
long |
getEndTime()
Returns the minutes after midnight for the end of the access period. |
long |
getStartTime()
Returns the minutes after midnight for the start of the access period. |
int |
getTimezone()
Returns the timezone as specified by the PDPOLICY_TIME_* constants defined in the PDPolicy class. |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PDTodAccessInfo(long days, long startTime, long endTime, int timezone, java.util.Locale locale, PDMessages messages) throws PDException
days
- a bitmap of the days for the time-of-day policy as
specified by the PDPOLICY_TOD_* constants defined
in the PDPolicy class.startTime
- the minutes after midnight for the start of the
access period. This must be a value between 0
and 1439 (the number of minutes, less 1, that are in
24 hours), inclusive.endTime
- the minutes after midnight for the end of the access
period. This must be a value between 1 and 1439
(the number of minutes, less one, that are
in 24 hours), inclusive.timezone
- the timezone: UTC or local, as specified by the
PDPOLICY_TIME_* constants defined in the PDPolicy
class.locale
- the locale into which any generated error or warning
messages are translated. May not be null.messages
- in/out parameter;
empty PDMessages on input;
may contain zero or more informational or warning
messages on output.
PDException
- if an error occurs.
This exception may contain error and message codes defined in the
product Error Message Reference document.Method Detail |
---|
public long getDays()
public long getStartTime()
public long getEndTime()
public int getTimezone()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |