Package ch.ivyteam.ivy.security
Interface IUserAbsence
public interface IUserAbsence
An absence defines an absence of a user. E.g. for vacation
- Since:
- 17.05.2006
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionGets the description of the absencelong
getId()
Gets the identifier of the user absenceGets the start timestamp (inclusive) of the absenceGets the stop timestamp (inclusive) of the absence.
-
Method Details
-
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 forever- 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.
-