Package ch.ivyteam.ivy.security
Interface IUserAbsence
-
public interface IUserAbsenceAn absence defines an absence of a user. E.g. for vacation- Since:
- 17.05.2006
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Gets the description of the absencelonggetId()Gets the identifier of the user absenceDategetStartTimestamp()Gets the start timestamp (inclusive) of the absenceDategetStopTimestamp()Gets the stop timestamp (inclusive) of the absence.
-
-
-
Method Detail
-
getId
long getId()
Gets the identifier of the user absence- Returns:
- identifier
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
getStartTimestamp
Date getStartTimestamp()
Gets the start timestamp (inclusive) of the absence- Returns:
- start timestamp
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getStopTimestamp
Date getStopTimestamp()
Gets the stop timestamp (inclusive) of the absence. Maybe null. In this case absence last foreever- Returns:
- stop timestamp
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getDescription
String getDescription()
Gets the description of the absence- Returns:
- description
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
-