Class UserAttribute
- java.lang.Object
- 
- com.opentext.livelink.service.core.ServiceDataObject
- 
- com.opentext.livelink.service.docman.Attribute
- 
- com.opentext.livelink.service.docman.PrimitiveAttribute
- 
- com.opentext.livelink.service.docman.UserAttribute
 
 
 
 
- 
- All Implemented Interfaces:
- IServiceDataObject,- java.io.Serializable
 
 public class UserAttribute extends PrimitiveAttribute implements java.io.Serializable A UserAttribute represents Users or Groups in Content Server, stored as UserID integer values.- Version:
- 2013-08-26
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description UserAttribute()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetAllowGroups()Gets a flag indicating whether Content Server group IDs are valid values.long[]getValidValues()Gets the list of valid values for this attribute.longgetValidValues(int index)Gets the value at the specified index in the ValidValues array.java.lang.Long[]getValues()Gets the array of default values for the attribute.java.lang.LonggetValues(int index)Gets the value at the specified index in the Values array.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetAllowGroups(java.lang.Boolean value)Sets a flag indicating whether Content Server group IDs are valid values.voidsetValidValues(int index, long value)Sets the value at the specified index in the fValidValues array.voidsetValidValues(long[] value)Sets the list of valid values for this attribute.voidsetValues(int index, java.lang.Long value)Sets the value at the specified index in the fValues array.voidsetValues(java.lang.Long[] value)Sets the array of default values for the attribute.com.opentext.api.LLValuetoLLValue()Serialize an SDO object to an LLValue that can be sent to Livelink.java.lang.StringtoString()Returns a string representation of the object consisting of the object name and any features and their values within square brackets.- 
Methods inherited from class com.opentext.livelink.service.docman.AttributegetDisplayName, getID, getKey, getMaxValues, getMinValues, getReadOnly, getRequired, getSearchable, getType, setDisplayName, setID, setKey, setMaxValues, setMinValues, setReadOnly, setRequired, setSearchable, setType
 
- 
 
- 
- 
- 
Method Detail- 
setAllowGroupspublic void setAllowGroups(java.lang.Boolean value) Sets a flag indicating whether Content Server group IDs are valid values.
 - 
getAllowGroupspublic java.lang.Boolean getAllowGroups() Gets a flag indicating whether Content Server group IDs are valid values.
 - 
setValidValuespublic void setValidValues(long[] value) Sets the list of valid values for this attribute.
 - 
getValidValuespublic long[] getValidValues() Gets the list of valid values for this attribute.
 - 
setValidValuespublic void setValidValues(int index, long value)Sets the value at the specified index in the fValidValues array.
 - 
getValidValuespublic long getValidValues(int index) Gets the value at the specified index in the ValidValues array.
 - 
setValuespublic void setValues(java.lang.Long[] value) Sets the array of default values for the attribute.
 - 
getValuespublic java.lang.Long[] getValues() Gets the array of default values for the attribute.
 - 
setValuespublic void setValues(int index, java.lang.Long value)Sets the value at the specified index in the fValues array.
 - 
getValuespublic java.lang.Long getValues(int index) Gets the value at the specified index in the Values array.
 - 
loadpublic void load(com.opentext.api.LLValue value) Description copied from interface:IServiceDataObjectDeserialize an ServiceDataObject from an LLValue that is received from Livelink. The LLValue is an Assoc that contains all of the features of this SDO. These features may refer to other SDOs and contain arrays of primitive values or SDOs. Each referenced SDO, will have its load() method called as well. Note: this is an internal method not meant to be called by clients.- Specified by:
- loadin interface- IServiceDataObject
- Overrides:
- loadin class- PrimitiveAttribute
- Parameters:
- value- the LLValue containing the data to be loaded
 
 - 
toLLValuepublic com.opentext.api.LLValue toLLValue() Description copied from interface:IServiceDataObjectSerialize an SDO object to an LLValue that can be sent to Livelink. Each feature of the SDO is stored in a key of the LLValue Assoc. Any references to other SDOs cause their toLLValue() method to be called. Note: this is an internal method not meant to be called by clients.- Specified by:
- toLLValuein interface- IServiceDataObject
- Overrides:
- toLLValuein class- PrimitiveAttribute
- Returns:
- Returns the LLValue object that represents this SDO
 
 - 
toStringpublic java.lang.String toString() Description copied from class:ServiceDataObjectReturns a string representation of the object consisting of the object name and any features and their values within square brackets. Intended for simple debugging or logging of an SDO.- Overrides:
- toStringin class- PrimitiveAttribute
 
 
- 
 
-