Class AssignmentEditorDto
java.lang.Object
com.evolveum.midpoint.web.component.util.Selectable<T>
com.evolveum.midpoint.web.component.util.SelectableBeanImpl
com.evolveum.midpoint.web.component.assignment.AssignmentEditorDto
- All Implemented Interfaces:
DebugDumpable
,SelectableBean
,SelectableRow
,Serializable
,Comparable<AssignmentEditorDto>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
public class AssignmentEditorDto
extends SelectableBeanImpl
implements Comparable<AssignmentEditorDto>, Serializable
TODO: unify with AssignmentItemDto
- Author:
- lazyman
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class com.evolveum.midpoint.web.component.util.SelectableBeanImpl
F_VALUE
Fields inherited from class com.evolveum.midpoint.web.component.util.Selectable
F_SELECTED
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ConstructorDescriptionAssignmentEditorDto
(UserDtoStatus status, AssignmentType assignment, PageBase pageBase) AssignmentEditorDto
(UserDtoStatus status, AssignmentType assignment, PageBase pageBase, UserType delegationOwner) -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
compareTo
(AssignmentEditorDto other) static AssignmentEditorDto
createDtoAddFromSelectedObject
(ObjectType object, PageBase pageBase) static AssignmentEditorDto
createDtoAddFromSelectedObject
(ObjectType object, QName relation, PageBase pageBase) static AssignmentEditorDto
createDtoAddFromSelectedObject
(ObjectType object, QName relation, PageBase pageBase, UserType delegationOwner) static AssignmentEditorDto
createDtoFromObject
(ObjectType object, UserDtoStatus status, PageBase pageBase) static AssignmentEditorDto
createDtoFromObject
(ObjectType object, UserDtoStatus status, QName relation, PageBase pageBase) boolean
getName()
getNewValue
(PrismContext prismContext) getPolicyRuleContainer
(AssignmentType assignment) getType()
int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
isModified
(PrismContext prismContext) boolean
boolean
boolean
boolean
void
setAlreadyAssigned
(boolean alreadyAssigned) void
setAltName
(String altName) void
setAssignedRelationsList
(List<QName> assignedRelationsList) void
setAttributes
(List<ACAttributeDto> attributes) void
setDefaultAssignmentConstraints
(AssignmentConstraintsType defaultAssignmentConstraints) void
setDelegationOwner
(UserType delegationOwner) void
setDescription
(String description) void
setEditable
(boolean editable) void
setFocusType
(QName focusType) void
setLimitTargetAllowTransitive
(Boolean newValue) void
setMinimized
(boolean minimized) void
setOrgRef
(ObjectViewDto<OrgType> orgRef) void
setOrgUnitManager
(Boolean orgUnitManager) void
setPrivilegeLimitationList
(List<AssignmentInfoDto> privilegeLimitationList) void
setPrivilegesLimitation
(OtherPrivilegesLimitationType limitations) void
setShowEmpty
(boolean showEmpty) void
setSimpleView
(boolean simpleView) void
setStatus
(UserDtoStatus status) void
setTenantRef
(ObjectViewDto<OrgType> tenantRef) toString()
Methods inherited from class com.evolveum.midpoint.web.component.util.SelectableBeanImpl
debugDump, debugDump, detach, getActiveSessions, getCustomData, getModel, getNodes, getResult, getValue, setActiveSessions, setCustomData, setModel, setNodes, setResult, setResult
Methods inherited from class com.evolveum.midpoint.web.component.util.Selectable
isSelected, setSelected
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.web.component.util.SelectableBean
isSelected, setSelected
-
Field Details
-
F_TYPE
- See Also:
-
F_NAME
- See Also:
-
F_DESCRIPTION
- See Also:
-
F_ACTIVATION
- See Also:
-
F_RELATION
- See Also:
-
F_FOCUS_TYPE
- See Also:
-
F_TENANT_REF
- See Also:
-
F_ORG_REF
- See Also:
-
F_NEW_ASSIGNMENT
- See Also:
-
F_ALT_NAME
- See Also:
-
F_IS_ORG_UNIT_MANAGER
- See Also:
-
-
Constructor Details
-
AssignmentEditorDto
-
AssignmentEditorDto
public AssignmentEditorDto(UserDtoStatus status, AssignmentType assignment, PageBase pageBase, UserType delegationOwner)
-
-
Method Details
-
createDtoAddFromSelectedObject
public static AssignmentEditorDto createDtoAddFromSelectedObject(ObjectType object, PageBase pageBase) -
createDtoAddFromSelectedObject
public static AssignmentEditorDto createDtoAddFromSelectedObject(ObjectType object, QName relation, PageBase pageBase) -
createDtoAddFromSelectedObject
public static AssignmentEditorDto createDtoAddFromSelectedObject(ObjectType object, QName relation, PageBase pageBase, UserType delegationOwner) -
createDtoFromObject
public static AssignmentEditorDto createDtoFromObject(ObjectType object, UserDtoStatus status, PageBase pageBase) -
createDtoFromObject
public static AssignmentEditorDto createDtoFromObject(ObjectType object, UserDtoStatus status, QName relation, PageBase pageBase) -
getAttributes
-
setAttributes
-
isMinimized
public boolean isMinimized() -
setMinimized
public void setMinimized(boolean minimized) -
isShowEmpty
public boolean isShowEmpty() -
setShowEmpty
public void setShowEmpty(boolean showEmpty) -
isEditable
public boolean isEditable() -
setEditable
public void setEditable(boolean editable) -
getStatus
-
getActivation
-
getName
-
getTargetRef
-
getExtension
-
getType
-
setStatus
-
isModified
- Throws:
SchemaException
-
getOldValue
-
getNewValue
public PrismContainerValue<AssignmentType> getNewValue(PrismContext prismContext) throws SchemaException - Throws:
SchemaException
-
getDescription
-
getFocusType
-
getRelation
-
getRelationQName
-
setDescription
-
setFocusType
-
isOrgUnitManager
-
setOrgUnitManager
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AssignmentEditorDto>
-
getTenantRef
-
setTenantRef
-
getOrgRef
-
setOrgRef
-
getAltName
-
setAltName
-
isSimpleView
public boolean isSimpleView() -
setSimpleView
public void setSimpleView(boolean simpleView) -
isAlreadyAssigned
public boolean isAlreadyAssigned() -
setAlreadyAssigned
public void setAlreadyAssigned(boolean alreadyAssigned) -
getDefaultAssignmentConstraints
-
getPolicyRuleContainer
-
setDefaultAssignmentConstraints
-
getAssignedRelationsList
-
setAssignedRelationsList
-
getPrivilegeLimitationList
-
setPrivilegeLimitationList
-
isLimitTargetAllowTransitive
public boolean isLimitTargetAllowTransitive() -
setLimitTargetAllowTransitive
-
getDelegationOwner
-
setDelegationOwner
-
getNotAssignedRelationsList
-
isAssignable
public boolean isAssignable() -
isMultyAssignable
public boolean isMultyAssignable() -
isSingleAssignable
public boolean isSingleAssignable() -
getPrivilegesLimitation
-
setPrivilegesLimitation
-
equals
- Overrides:
equals
in classSelectableBeanImpl
-
clone
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSelectableBeanImpl
-
toString
-
getNameForTargetObject
-