Class Substitution
- All Implemented Interfaces:
Serializable
- Since:
- 12.00.000.029
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
The current users access rights for this Substitution.protected int
User who created the Substitution.protected String
User who created the Substitution.If the substitution was forwarded byIXServicePortIF.forwardSubstitution(de.elo.ix.client.ClientInfo, de.elo.ix.client.subs.ForwardSubstitutionInfo, de.elo.ix.client.LockZ)
, the original substitutes (substituteId
are saved here.protected String
If a substitution was forwarded to an other one, this references theguid
of the substitution it was forwarded from.protected String
If a substitution was forwarded to an other one, this references theguid
of the substitution it was forwarded to.List of groups of which the substitute inherits the rights.protected String
GUID of substitutionprotected int
User ID of the user that has locked the Substitutionprotected String
Name of the user that has locked the Substitutionprotected String
Message to add to the substitution.protected SubstitutionSettings
Contains all boolean settings for a Substitutionprotected SubstitutionStatus
Returns the status of the substitution.protected int
User or group to whom the substitution is directed.protected String
User or group to whom the substitution is directed.protected int
Type of the substitute.protected List<SubstitutionPeriod>
List of time periods in which the substitution is activated automatically ifSubstitutionSettings.activatePeriodsAutomatically
is set to true.protected String
Timestamp of last update.protected String
Timestamp of last update.protected int
The user or group which is substituted by this object.protected String
The user or group which is substituted by this object.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
getGuid()
int
int
int
int
int
hashCode()
void
setAccess
(int access) void
setCreatorId
(int creatorId) void
setCreatorName
(String creatorName) void
setForwardedBy
(List<Integer> forwardedBy) void
setForwardedFrom
(String forwardedFrom) void
setForwardedTo
(String forwardedTo) void
setGroupsToInheritRights
(List<Integer> groupsToInheritRights) void
void
setLockId
(int lockId) void
setLockName
(String lockName) void
setMessage
(String message) void
setSettings
(SubstitutionSettings settings) void
setStatus
(SubstitutionStatus status) void
setSubstituteId
(int substituteId) void
setSubstituteName
(String substituteName) void
setSubstituteType
(int substituteType) void
setSubstitutionPeriods
(List<SubstitutionPeriod> substitutionPeriods) void
void
setTstampsync
(String tstampsync) void
setUserId
(int userId) void
setUserName
(String userName) toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
guid
GUID of substitution
A new substitution is saved if guid is empty on checkin. An existing substitution is updated if a guid is provided.
-
userId
protected int userIdThe user or group which is substituted by this object.
This variable is ignored when calling
IXServicePortIF.checkinSubstitutions(de.elo.ix.client.ClientInfo, de.elo.ix.client.subs.CheckinSubstitutionsInfo, de.elo.ix.client.subs.SubstitutionZ, de.elo.ix.client.LockZ)
ifuserName
is set. -
userName
The user or group which is substituted by this object.
userId
is ignored if this member is set when callingIXServicePortIF.checkinSubstitutions(de.elo.ix.client.ClientInfo, de.elo.ix.client.subs.CheckinSubstitutionsInfo, de.elo.ix.client.subs.SubstitutionZ, de.elo.ix.client.LockZ)
. -
substituteId
protected int substituteIdUser or group to whom the substitution is directed.
This variable is ignored when calling
IXServicePortIF.checkinSubstitutions(de.elo.ix.client.ClientInfo, de.elo.ix.client.subs.CheckinSubstitutionsInfo, de.elo.ix.client.subs.SubstitutionZ, de.elo.ix.client.LockZ)
ifsubstituteName
is set. -
substituteName
User or group to whom the substitution is directed.
substituteId
is ignored if this member is set when callingIXServicePortIF.checkinSubstitutions(de.elo.ix.client.ClientInfo, de.elo.ix.client.subs.CheckinSubstitutionsInfo, de.elo.ix.client.subs.SubstitutionZ, de.elo.ix.client.LockZ)
. -
substituteType
protected int substituteTypeType of the substitute.
Read-only, refers to
UserInfoC.TYPE_GROUP
orUserInfoC.TYPE_USER
-
creatorId
protected int creatorIdUser who created the Substitution. Read-only.
-
creatorName
User who created the Substitution. Read-only.
-
access
protected int accessThe current users access rights for this Substitution. Returns a combination of AccessC.LUR_ constants. Read-only.- Since:
- 20.00.000.111
-
groupsToInheritRights
List of groups of which the substitute inherits the rights.
It is not possible to inherit rights from a user, only from groups. Every group needs to have the the right
AccessC.FLAG2_CAN_BE_SUBSTITUTED
-
substitutionPeriods
List of time periods in which the substitution is activated automatically if
SubstitutionSettings.activatePeriodsAutomatically
is set to true. -
settings
Contains all boolean settings for a Substitution -
status
Returns the status of the substitution.
In case of checking in a substitution, this variable is ignored.
-
forwardedTo
If a substitution was forwarded to an other one, this references the
Read-only.guid
of the substitution it was forwarded to. -
forwardedFrom
If a substitution was forwarded to an other one, this references the
Read-only.guid
of the substitution it was forwarded from. -
message
Message to add to the substitution. -
lockId
protected int lockIdUser ID of the user that has locked the Substitution
If -1, no lock is held. Read-only, ignored in
IXServicePortIF.checkinSubstitutions(de.elo.ix.client.ClientInfo, de.elo.ix.client.subs.CheckinSubstitutionsInfo, de.elo.ix.client.subs.SubstitutionZ, de.elo.ix.client.LockZ)
-
lockName
Name of the user that has locked the Substitution
Read-only, ignored in
IXServicePortIF.checkinSubstitutions(de.elo.ix.client.ClientInfo, de.elo.ix.client.subs.CheckinSubstitutionsInfo, de.elo.ix.client.subs.SubstitutionZ, de.elo.ix.client.LockZ)
-
tstamp
Timestamp of last update. Read-only. -
tstampsync
Timestamp of last update. Read-only. -
forwardedBy
If the substitution was forwarded byIXServicePortIF.forwardSubstitution(de.elo.ix.client.ClientInfo, de.elo.ix.client.subs.ForwardSubstitutionInfo, de.elo.ix.client.LockZ)
, the original substitutes (substituteId
are saved here. Read-only- Since:
- 12.00.000.047
-
-
Constructor Details
-
Substitution
public Substitution() -
Substitution
-
-
Method Details
-
getGuid
-
setGuid
-
getUserId
public int getUserId() -
setUserId
public void setUserId(int userId) -
getUserName
-
setUserName
-
getSubstituteId
public int getSubstituteId() -
setSubstituteId
public void setSubstituteId(int substituteId) -
getSubstituteName
-
setSubstituteName
-
getGroupsToInheritRights
-
setGroupsToInheritRights
-
getSubstitutionPeriods
-
setSubstitutionPeriods
-
getAccess
public int getAccess() -
setAccess
public void setAccess(int access) -
getStatus
-
setStatus
-
getMessage
-
setMessage
-
getLockId
public int getLockId() -
setLockId
public void setLockId(int lockId) -
getLockName
-
setLockName
-
getCreatorId
public int getCreatorId() -
setCreatorId
public void setCreatorId(int creatorId) -
getCreatorName
-
setCreatorName
-
getForwardedTo
-
setForwardedTo
-
getForwardedFrom
-
setForwardedFrom
-
getTstamp
-
setTstamp
-
getSettings
-
setSettings
-
getTstampsync
-
setTstampsync
-
getSubstituteType
public int getSubstituteType() -
setSubstituteType
public void setSubstituteType(int substituteType) -
getForwardedBy
-
setForwardedBy
-
toString
-
hashCode
public int hashCode() -
equals
-