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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
F_ACTIVATION
static String
F_ALT_NAME
static String
F_DESCRIPTION
static String
F_FOCUS_TYPE
static String
F_IS_ORG_UNIT_MANAGER
static String
F_NAME
static String
F_NEW_ASSIGNMENT
static String
F_ORG_REF
static String
F_RELATION
static String
F_TENANT_REF
static String
F_TYPE
-
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
Constructors Constructor Description AssignmentEditorDto(UserDtoStatus status, AssignmentType assignment, PageBase pageBase)
AssignmentEditorDto(UserDtoStatus status, AssignmentType assignment, PageBase pageBase, UserType delegationOwner)
-
Method Summary
-
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 Detail
-
F_TYPE
public static final String F_TYPE
- See Also:
- Constant Field Values
-
F_NAME
public static final String F_NAME
- See Also:
- Constant Field Values
-
F_DESCRIPTION
public static final String F_DESCRIPTION
- See Also:
- Constant Field Values
-
F_ACTIVATION
public static final String F_ACTIVATION
- See Also:
- Constant Field Values
-
F_RELATION
public static final String F_RELATION
- See Also:
- Constant Field Values
-
F_FOCUS_TYPE
public static final String F_FOCUS_TYPE
- See Also:
- Constant Field Values
-
F_TENANT_REF
public static final String F_TENANT_REF
- See Also:
- Constant Field Values
-
F_ORG_REF
public static final String F_ORG_REF
- See Also:
- Constant Field Values
-
F_NEW_ASSIGNMENT
public static final String F_NEW_ASSIGNMENT
- See Also:
- Constant Field Values
-
F_ALT_NAME
public static final String F_ALT_NAME
- See Also:
- Constant Field Values
-
F_IS_ORG_UNIT_MANAGER
public static final String F_IS_ORG_UNIT_MANAGER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AssignmentEditorDto
public AssignmentEditorDto(UserDtoStatus status, AssignmentType assignment, PageBase pageBase)
-
AssignmentEditorDto
public AssignmentEditorDto(UserDtoStatus status, AssignmentType assignment, PageBase pageBase, UserType delegationOwner)
-
-
Method Detail
-
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
public List<ACAttributeDto> getAttributes()
-
setAttributes
public void setAttributes(List<ACAttributeDto> attributes)
-
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
public UserDtoStatus getStatus()
-
getActivation
public ActivationType getActivation()
-
getName
public String getName()
-
getTargetRef
public ObjectReferenceType getTargetRef()
-
getExtension
public ExtensionType getExtension()
-
getType
public AssignmentEditorDtoType getType()
-
setStatus
public void setStatus(UserDtoStatus status)
-
isModified
public boolean isModified(PrismContext prismContext) throws SchemaException
- Throws:
SchemaException
-
getOldValue
public PrismContainerValue<AssignmentType> getOldValue()
-
getNewValue
public PrismContainerValue<AssignmentType> getNewValue(PrismContext prismContext) throws SchemaException
- Throws:
SchemaException
-
getDescription
public String getDescription()
-
getFocusType
public QName getFocusType()
-
getRelation
public String getRelation()
-
getRelationQName
public QName getRelationQName()
-
setDescription
public void setDescription(String description)
-
setFocusType
public void setFocusType(QName focusType)
-
isOrgUnitManager
public Boolean isOrgUnitManager()
-
setOrgUnitManager
public void setOrgUnitManager(Boolean orgUnitManager)
-
compareTo
public int compareTo(AssignmentEditorDto other)
- Specified by:
compareTo
in interfaceComparable<AssignmentEditorDto>
-
getTenantRef
public ObjectViewDto<OrgType> getTenantRef()
-
setTenantRef
public void setTenantRef(ObjectViewDto<OrgType> tenantRef)
-
getOrgRef
public ObjectViewDto<OrgType> getOrgRef()
-
setOrgRef
public void setOrgRef(ObjectViewDto<OrgType> orgRef)
-
getAltName
public String getAltName()
-
setAltName
public void setAltName(String altName)
-
isSimpleView
public boolean isSimpleView()
-
setSimpleView
public void setSimpleView(boolean simpleView)
-
isAlreadyAssigned
public boolean isAlreadyAssigned()
-
setAlreadyAssigned
public void setAlreadyAssigned(boolean alreadyAssigned)
-
getDefaultAssignmentConstraints
public AssignmentConstraintsType getDefaultAssignmentConstraints()
-
getPolicyRuleContainer
public PrismContainer<PolicyRuleType> getPolicyRuleContainer(AssignmentType assignment)
-
setDefaultAssignmentConstraints
public void setDefaultAssignmentConstraints(AssignmentConstraintsType defaultAssignmentConstraints)
-
getPrivilegeLimitationList
public List<AssignmentInfoDto> getPrivilegeLimitationList()
-
setPrivilegeLimitationList
public void setPrivilegeLimitationList(List<AssignmentInfoDto> privilegeLimitationList)
-
isLimitTargetAllowTransitive
public boolean isLimitTargetAllowTransitive()
-
setLimitTargetAllowTransitive
public void setLimitTargetAllowTransitive(Boolean newValue)
-
getDelegationOwner
public UserType getDelegationOwner()
-
setDelegationOwner
public void setDelegationOwner(UserType delegationOwner)
-
isAssignable
public boolean isAssignable()
-
isMultyAssignable
public boolean isMultyAssignable()
-
isSingleAssignable
public boolean isSingleAssignable()
-
getPrivilegesLimitation
public OtherPrivilegesLimitationType getPrivilegesLimitation()
-
setPrivilegesLimitation
public void setPrivilegesLimitation(OtherPrivilegesLimitationType limitations)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSelectableBeanImpl
-
clone
public AssignmentEditorDto clone()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSelectableBeanImpl
-
getNameForTargetObject
public String getNameForTargetObject()
-
-