Package com.ibm.wsspi.security.wim.model
Class GroupControl
java.lang.Object
com.ibm.wsspi.security.wim.model.Control
com.ibm.wsspi.security.wim.model.PropertyControl
com.ibm.wsspi.security.wim.model.SearchControl
com.ibm.wsspi.security.wim.model.HierarchyControl
com.ibm.wsspi.security.wim.model.GroupControl
- Direct Known Subclasses:
GroupMemberControl
,GroupMembershipControl
Java class for GroupControl complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GroupControl"> <complexContent> <extension base="{http://www.ibm.com/websphere/wim}HierarchyControl"> <attribute name="modifyMode" type="{http://www.w3.org/2001/XMLSchema}int" default="1" /> </extension> </complexContent> </complexType>
The GroupControl object extends the HierarchyControl object, and defines one property: modifyMode.
The GroupControl object may be used to specify the assign or un-assign mode through the modifyMode property. Multiple entities can be assigned or un-assigned in a single call. If there is only partial success when assigning or un-assigning multiple entities, an exception will be thrown. It is responsibility of the caller to perform any clean-up needed in the event of an exception.
- modifyMode: controls the number of members defined in a group object to be added as members of this group
- 1: this default setting will cause the members in the group object to be added to this group as its members
- 2: will cause the members contained in the group object to be added to the group as its members, and all the existing members of the group will be removed.
- 3: will cause the members contained in the group object to be un-assigned from the group.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.wsspi.security.wim.model.PropertyControl
PropertyControl.ContextProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the requested propertygetDataType
(String propName) Gets the Java type of the value of the provided property.int
Gets the value of the modifyMode property.static List
getPropertyNames
(String entityTypeName) Gets a list of all supported properties for this model object, GroupControlstatic HashSet
Gets a set of any model objects which extend this model object, GroupControlGets a list of any model objects which this model object, GroupControl, is an extension of.Gets the name of this model object, GroupControlboolean
Returns true if the requested property is set; false, otherwise.boolean
Returns true if the modifyMode property is set; false, otherwise.boolean
Returns a true if the provided model object is one that this model object extends; false, otherwise.void
Sets the value of the provided property to the provided value.void
setModifyMode
(int value) Sets the value of the modifyMode property.toString()
Returns this model object, GroupControl, and its contents as a Stringvoid
Sets the value of provided property to null.void
Resets the modifyMode property to null.Methods inherited from class com.ibm.wsspi.security.wim.model.HierarchyControl
getLevel, isSetLevel, isSetTreeView, isTreeView, setLevel, setTreeView, unsetLevel, unsetTreeView
Methods inherited from class com.ibm.wsspi.security.wim.model.SearchControl
getCountLimit, getExpression, getSearchBases, getSearchLimit, getTimeLimit, isReturnSubType, isSetCountLimit, isSetExpression, isSetReturnSubType, isSetSearchBases, isSetSearchLimit, isSetTimeLimit, setCountLimit, setExpression, setReturnSubType, setSearchLimit, setTimeLimit, unsetCountLimit, unsetReturnSubType, unsetSearchBases, unsetSearchLimit, unsetTimeLimit
Methods inherited from class com.ibm.wsspi.security.wim.model.PropertyControl
getContextProperties, getProperties, isSetContextProperties, isSetProperties, unsetContextProperties, unsetProperties
-
Constructor Details
-
GroupControl
public GroupControl()
-
-
Method Details
-
getModifyMode
public int getModifyMode()Gets the value of the modifyMode property.- Returns:
- possible object is
Integer
-
setModifyMode
public void setModifyMode(int value) Sets the value of the modifyMode property.- Parameters:
value
- allowed object isInteger
-
isSetModifyMode
public boolean isSetModifyMode()Returns true if the modifyMode property is set; false, otherwise.- Returns:
- returned object is
boolean
-
unsetModifyMode
public void unsetModifyMode()Resets the modifyMode property to null. -
get
Gets the value of the requested property- Overrides:
get
in classHierarchyControl
- Parameters:
propName
- allowed object isString
- Returns:
- returned object is
Object
-
isSet
Returns true if the requested property is set; false, otherwise.- Overrides:
isSet
in classHierarchyControl
- Returns:
- returned object is
boolean
-
set
Sets the value of the provided property to the provided value.- Overrides:
set
in classHierarchyControl
- Parameters:
propName
- allowed object isString
value
- allowed object isObject
-
unset
Sets the value of provided property to null.- Overrides:
unset
in classHierarchyControl
- Parameters:
propName
- allowed object isString
-
getTypeName
Gets the name of this model object, GroupControl- Overrides:
getTypeName
in classHierarchyControl
- Returns:
- returned object is
String
-
getPropertyNames
Gets a list of all supported properties for this model object, GroupControl -
getDataType
Gets the Java type of the value of the provided property. For example: String, List- Overrides:
getDataType
in classHierarchyControl
- Parameters:
propName
- allowed object isString
- Returns:
- returned object is
String
-
getSuperTypes
Gets a list of any model objects which this model object, GroupControl, is an extension of.- Overrides:
getSuperTypes
in classHierarchyControl
- Returns:
- returned object is
ArrayList
-
isSubType
Returns a true if the provided model object is one that this model object extends; false, otherwise.- Overrides:
isSubType
in classHierarchyControl
- Parameters:
superTypeName
- allowed object isString
- Returns:
- returned object is
boolean
-
getSubTypes
Gets a set of any model objects which extend this model object, GroupControl- Returns:
- returned object is
HashSet
-
toString
Returns this model object, GroupControl, and its contents as a String- Overrides:
toString
in classHierarchyControl
- Returns:
- returned object is
String
-