Class NodeRights
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.docman.NodeRights
-
- All Implemented Interfaces:
IServiceDataObject
,java.io.Serializable
public class NodeRights extends ServiceDataObject implements java.io.Serializable
NodeRights represents the collection of rights associated with a node. There are fields for each of the core NodeRight types (Owner, OwnerGroup, Public) and an array of ACL Rights.- Version:
- 2013-08-26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeRights()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeRight[]
getACLRights()
Gets the list of ACL rights for the node.NodeRight
getACLRights(int index)
Gets the value at the specified index in the ACLRights array.NodeRight
getOwnerGroupRight()
Gets the Owner Group rights for the node.NodeRight
getOwnerRight()
Gets the Owner rights for the node.NodeRight
getPublicRight()
Gets the Public Access rights for the node.void
load(com.opentext.api.LLValue value)
Deserialize an ServiceDataObject from an LLValue that is received from Livelink.void
setACLRights(int index, NodeRight value)
Sets the value at the specified index in the fACLRights array.void
setACLRights(NodeRight[] value)
Sets the list of ACL rights for the node.void
setOwnerGroupRight(NodeRight value)
Sets the Owner Group rights for the node.void
setOwnerRight(NodeRight value)
Sets the Owner rights for the node.void
setPublicRight(NodeRight value)
Sets the Public Access rights for the node.com.opentext.api.LLValue
toLLValue()
Serialize an SDO object to an LLValue that can be sent to Livelink.java.lang.String
toString()
Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
-
-
-
Method Detail
-
setACLRights
public void setACLRights(NodeRight[] value)
Sets the list of ACL rights for the node.
-
getACLRights
public NodeRight[] getACLRights()
Gets the list of ACL rights for the node.
-
setACLRights
public void setACLRights(int index, NodeRight value)
Sets the value at the specified index in the fACLRights array.
-
getACLRights
public NodeRight getACLRights(int index)
Gets the value at the specified index in the ACLRights array.
-
setOwnerGroupRight
public void setOwnerGroupRight(NodeRight value)
Sets the Owner Group rights for the node.
-
getOwnerGroupRight
public NodeRight getOwnerGroupRight()
Gets the Owner Group rights for the node.
-
setOwnerRight
public void setOwnerRight(NodeRight value)
Sets the Owner rights for the node.
-
getOwnerRight
public NodeRight getOwnerRight()
Gets the Owner rights for the node.
-
setPublicRight
public void setPublicRight(NodeRight value)
Sets the Public Access rights for the node.
-
getPublicRight
public NodeRight getPublicRight()
Gets the Public Access rights for the node.
-
load
public void load(com.opentext.api.LLValue value)
Description copied from interface:IServiceDataObject
Deserialize 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:
load
in interfaceIServiceDataObject
- Overrides:
load
in classServiceDataObject
- Parameters:
value
- the LLValue containing the data to be loaded
-
toLLValue
public com.opentext.api.LLValue toLLValue()
Description copied from interface:IServiceDataObject
Serialize 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:
toLLValue
in interfaceIServiceDataObject
- Overrides:
toLLValue
in classServiceDataObject
- Returns:
- Returns the LLValue object that represents this SDO
-
toString
public java.lang.String toString()
Description copied from class:ServiceDataObject
Returns 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:
toString
in classServiceDataObject
-
-