com.tivoli.pd.rgy.ldap.RgyAttributes
RgyAttributes creates a collection of attributes for creating or importing a user or group. Methods available in the RgyAttributes interface:
- putAttribute()
- addAttribute()
- removeAttribute()
- putAttributesInto()
- getOneAttributeValue() and getAttributeValues()
- nameIterator()
- putAttribute()
- Replaces any existing attribute value with the specified values. If the specified attribute does not exist in the RgyAttribute instance, it is created using the values that are passed through this method.
- addAttribute()
- Adds one or more values to the existing values for the specified attribute. If the specified attribute does not exist, it is created using the values that are passed through this method.
- removeAttribute()
- Removes the specified values from the attribute passed through the RgyAttributes instance.
If the specified attribute is not present in the RgyAttributes instance, it is ignored.
If the attribute does not have any associated values, the attribute is removed after the attributes values are removed.
If only the attribute name is specified, this method removes the attribute completely.
- putAttributesInto()
- All attributes available in theRgyAttribute are added to the specified RgyAttribute instance. This method replaces the attributes that contain the same name.
- getOneAttributeValue() and getAttributeValues()
- Fetches the values of the named attribute. If the attribute named by getOneAttributeValue() contains more than one value, any one attribute value is returned. There is no specific pattern based on which the method selects the value.
- nameIterator()
- Returns an Iterator<String> that provides the names of all the attributes currently stored in the RgyAttributes instance.
Parent topic: Published API