Class SubjectedObjectSelectorType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectSelectorType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.SubjectedObjectSelectorType
-
- All Implemented Interfaces:
Containerable
,Serializable
,Cloneable
- Direct Known Subclasses:
OwnedObjectSelectorType
public class SubjectedObjectSelectorType extends ObjectSelectorType implements Serializable, Cloneable, Containerable
Selects some objects from all the objects in midPoint. This is an extension of ObjectSelectorType that adds criteria that relate objects to a specific subject (logged-in user).Java class for SubjectedObjectSelectorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SubjectedObjectSelectorType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectSelectorType"> <sequence> <element name="orgRelation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OrgRelationObjectSpecificationType" minOccurs="0"/> <element name="roleRelation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}RoleRelationObjectSpecificationType" minOccurs="0"/> <element name="archetypeRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="special" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SpecialObjectSpecificationType" maxOccurs="unbounded" minOccurs="0"/> <element name="allowInactive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_ALLOW_INACTIVE
static ItemName
F_ARCHETYPE_REF
static ItemName
F_ORG_RELATION
static ItemName
F_ROLE_RELATION
static ItemName
F_SPECIAL
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectSelectorType
F_DESCRIPTION, F_DOCUMENTATION, F_FILTER, F_ORG_REF, F_SUBTYPE, F_TYPE
-
-
Constructor Summary
Constructors Constructor Description SubjectedObjectSelectorType()
SubjectedObjectSelectorType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectSelectorType
getDescription, getDocumentation, getFilter, getId, getOrgRef, getSubtype, getType, setDescription, setDocumentation, setFilter, setId, setOrgRef, setSubtype, setType
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_ORG_RELATION
public static final ItemName F_ORG_RELATION
-
F_ROLE_RELATION
public static final ItemName F_ROLE_RELATION
-
F_ARCHETYPE_REF
public static final ItemName F_ARCHETYPE_REF
-
F_SPECIAL
public static final ItemName F_SPECIAL
-
F_ALLOW_INACTIVE
public static final ItemName F_ALLOW_INACTIVE
-
-
Constructor Detail
-
SubjectedObjectSelectorType
public SubjectedObjectSelectorType()
-
SubjectedObjectSelectorType
public SubjectedObjectSelectorType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classObjectSelectorType
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
- Overrides:
setupContainerValue
in classObjectSelectorType
-
toString
public String toString()
- Overrides:
toString
in classObjectSelectorType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classObjectSelectorType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObjectSelectorType
-
end
public <X> X end()
- Overrides:
end
in classObjectSelectorType
-
getOrgRelation
public OrgRelationObjectSpecificationType getOrgRelation()
-
setOrgRelation
public void setOrgRelation(OrgRelationObjectSpecificationType value)
-
getRoleRelation
public RoleRelationObjectSpecificationType getRoleRelation()
-
setRoleRelation
public void setRoleRelation(RoleRelationObjectSpecificationType value)
-
getArchetypeRef
public List<ObjectReferenceType> getArchetypeRef()
-
createArchetypeRefList
public List<ObjectReferenceType> createArchetypeRefList()
-
getSpecial
public List<SpecialObjectSpecificationType> getSpecial()
-
createSpecialList
public List<SpecialObjectSpecificationType> createSpecialList()
-
isAllowInactive
public Boolean isAllowInactive()
-
setAllowInactive
public void setAllowInactive(Boolean value)
-
orgRelation
public SubjectedObjectSelectorType orgRelation(OrgRelationObjectSpecificationType value)
-
beginOrgRelation
public OrgRelationObjectSpecificationType beginOrgRelation()
-
roleRelation
public SubjectedObjectSelectorType roleRelation(RoleRelationObjectSpecificationType value)
-
beginRoleRelation
public RoleRelationObjectSpecificationType beginRoleRelation()
-
archetypeRef
public SubjectedObjectSelectorType archetypeRef(ObjectReferenceType value)
-
archetypeRef
public SubjectedObjectSelectorType archetypeRef(String oid, QName type)
-
archetypeRef
public SubjectedObjectSelectorType archetypeRef(String oid, QName type, QName relation)
-
beginArchetypeRef
public ObjectReferenceType beginArchetypeRef()
-
special
public SubjectedObjectSelectorType special(SpecialObjectSpecificationType value)
-
allowInactive
public SubjectedObjectSelectorType allowInactive(Boolean value)
-
description
public SubjectedObjectSelectorType description(String value)
- Overrides:
description
in classObjectSelectorType
-
documentation
public SubjectedObjectSelectorType documentation(String value)
- Overrides:
documentation
in classObjectSelectorType
-
type
public SubjectedObjectSelectorType type(QName value)
- Overrides:
type
in classObjectSelectorType
-
subtype
public SubjectedObjectSelectorType subtype(String value)
- Overrides:
subtype
in classObjectSelectorType
-
orgRef
public SubjectedObjectSelectorType orgRef(ObjectReferenceType value)
- Overrides:
orgRef
in classObjectSelectorType
-
orgRef
public SubjectedObjectSelectorType orgRef(String oid, QName type)
- Overrides:
orgRef
in classObjectSelectorType
-
orgRef
public SubjectedObjectSelectorType orgRef(String oid, QName type, QName relation)
- Overrides:
orgRef
in classObjectSelectorType
-
beginOrgRef
public ObjectReferenceType beginOrgRef()
- Overrides:
beginOrgRef
in classObjectSelectorType
-
filter
public SubjectedObjectSelectorType filter(SearchFilterType value)
- Overrides:
filter
in classObjectSelectorType
-
beginFilter
public SearchFilterType beginFilter()
- Overrides:
beginFilter
in classObjectSelectorType
-
id
public SubjectedObjectSelectorType id(Long value)
- Overrides:
id
in classObjectSelectorType
-
clone
public SubjectedObjectSelectorType clone()
- Overrides:
clone
in classObjectSelectorType
-
-