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
,DebugDumpable
,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="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_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_ARCHETYPE_REF, F_DESCRIPTION, F_DOCUMENTATION, F_FILTER, F_ORG_REF, F_SUBTYPE, F_TYPE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
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
createArchetypeRefList, getArchetypeRef, getDescription, getDocumentation, getFilter, getId, getOrgRef, getSubtype, getType, setDescription, setDocumentation, setFilter, setId, setOrgRef, setSubtype, setType
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
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)
-
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()
-
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
-
archetypeRef
public SubjectedObjectSelectorType archetypeRef(ObjectReferenceType value)
- Overrides:
archetypeRef
in classObjectSelectorType
-
archetypeRef
public SubjectedObjectSelectorType archetypeRef(String oid, QName type)
- Overrides:
archetypeRef
in classObjectSelectorType
-
archetypeRef
public SubjectedObjectSelectorType archetypeRef(String oid, QName type, QName relation)
- Overrides:
archetypeRef
in classObjectSelectorType
-
beginArchetypeRef
public ObjectReferenceType beginArchetypeRef()
- Overrides:
beginArchetypeRef
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
-
-