Package de.elo.ix.client.subs
Class SubstitutionSettings
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.subs.SubstitutionSettings
- All Implemented Interfaces:
Serializable
This class wraps various boolean settings and parameters for
Substitution
- Since:
- 12.00.000.013
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Define if substitution is activated automatically during aSubstitutionPeriod
.protected boolean
Define if the substitute is allowed to find and access tasks (e.g.protected boolean
Define if the substitute can access the user's postbox.protected boolean
Define if the substitution can be activated manually.protected boolean
Define if the the substitution can be forwarded to an other user.protected boolean
If set to true, the principals effective rights (with all groups and so on) are inherited to the substitute.protected boolean
Is the substitution activated manually by callingIXServicePortIF.activateSubstitution(de.elo.ix.client.ClientInfo, String, de.elo.ix.client.LockZ)
Read-onlyprotected boolean
Defines if a substitution was created as a superior substitution with all rights set.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setActivatePeriodsAutomatically
(boolean activatePeriodsAutomatically) void
setCanAccessPersonalTasks
(boolean canAccessPersonalTasks) void
setCanAccessPostbox
(boolean canAccessPostbox) void
setCanBeActivatedManually
(boolean canBeActivatedManually) void
setCanBeForwarded
(boolean canBeForwarded) void
setInheritEffectivePrincipalRights
(boolean inheritEffectivePrincipalRights) void
setIsActivatedManually
(boolean isActivatedManually) void
setSuperiorSubstitution
(boolean superiorSubstitution) toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
canAccessPostbox
protected boolean canAccessPostboxDefine if the substitute can access the user's postbox. -
canBeActivatedManually
protected boolean canBeActivatedManuallyDefine if the substitution can be activated manually. -
canBeForwarded
protected boolean canBeForwardedDefine if the the substitution can be forwarded to an other user. -
activatePeriodsAutomatically
protected boolean activatePeriodsAutomaticallyDefine if substitution is activated automatically during aSubstitutionPeriod
. -
superiorSubstitution
protected boolean superiorSubstitutionDefines if a substitution was created as a superior substitution with all rights set.
This flag cannot be set by a user himself, but the superior and administrators.
To create such a substitution, call
IXServicePortIF.createSuperiorSubstitution(de.elo.ix.client.ClientInfo, de.elo.ix.client.subs.CreateSuperiorSubstitutionInfo)
. -
isActivatedManually
protected boolean isActivatedManuallyIs the substitution activated manually by callingIXServicePortIF.activateSubstitution(de.elo.ix.client.ClientInfo, String, de.elo.ix.client.LockZ)
Read-only -
canAccessPersonalTasks
protected boolean canAccessPersonalTasksDefine if the substitute is allowed to find and access tasks (e.g.WFDiagram
,Activity
,Reminder
) which are assigned to the user (Substitution.userId
himself and not a substituted group (Substitution.groupsToInheritRights
.- Since:
- 12.00.000.043
-
inheritEffectivePrincipalRights
protected boolean inheritEffectivePrincipalRightsIf set to true, the principals effective rights (with all groups and so on) are inherited to the substitute. The substitute then is able to do everything the principal could.- Since:
- 20.00.000.108
-
-
Constructor Details
-
SubstitutionSettings
public SubstitutionSettings() -
SubstitutionSettings
-
-
Method Details
-
isCanAccessPostbox
public boolean isCanAccessPostbox() -
setCanAccessPostbox
public void setCanAccessPostbox(boolean canAccessPostbox) -
isCanBeActivatedManually
public boolean isCanBeActivatedManually() -
setCanBeActivatedManually
public void setCanBeActivatedManually(boolean canBeActivatedManually) -
isCanBeForwarded
public boolean isCanBeForwarded() -
setCanBeForwarded
public void setCanBeForwarded(boolean canBeForwarded) -
isActivatePeriodsAutomatically
public boolean isActivatePeriodsAutomatically() -
setActivatePeriodsAutomatically
public void setActivatePeriodsAutomatically(boolean activatePeriodsAutomatically) -
isSuperiorSubstitution
public boolean isSuperiorSubstitution() -
setSuperiorSubstitution
public void setSuperiorSubstitution(boolean superiorSubstitution) -
isActivatedManually
public boolean isActivatedManually() -
setIsActivatedManually
public void setIsActivatedManually(boolean isActivatedManually) -
isCanAccessPersonalTasks
public boolean isCanAccessPersonalTasks() -
setCanAccessPersonalTasks
public void setCanAccessPersonalTasks(boolean canAccessPersonalTasks) -
isInheritEffectivePrincipalRights
public boolean isInheritEffectivePrincipalRights() -
setInheritEffectivePrincipalRights
public void setInheritEffectivePrincipalRights(boolean inheritEffectivePrincipalRights) -
toString
-
hashCode
public int hashCode() -
equals
-