public interface Link extends RepositoryObject, Replicable, Subscribable, IndependentlyPersistableObject
Head
and Tail
properties
express the relationship. Use a Link object for many-to-many relationships between any objects, or for referential containment
relationships between objects that are not instances of Containable
subclasses.
Note This is a weak link relationship: both the Head
and Tail
properties have
their DeletionAction
metadata properties set to None
. If you delete the object referenced by
the head or tail, the Link
object itself is not deleted.
Modifier and Type | Method and Description |
---|---|
void |
changeClass(java.lang.String className)
Changes the class of a Content Engine object.
|
ActiveMarkingList |
get_ActiveMarkings()
Returns the value of the ActiveMarkings property.
|
EventSet |
get_AuditedEvents()
Returns the value of the AuditedEvents property.
|
java.lang.Boolean |
get_CmIsMarkedForDeletion()
Returns the value of the CmIsMarkedForDeletion property.
|
java.lang.String |
get_Creator()
Returns the value of the Creator property.
|
java.util.Date |
get_DateCreated()
Returns the value of the DateCreated property.
|
java.util.Date |
get_DateLastModified()
Returns the value of the DateLastModified property.
|
IndependentObject |
get_Head()
Returns the value of the Head property.
|
Id |
get_Id()
Returns the value of the Id property.
|
java.lang.String |
get_LastModifier()
Returns the value of the LastModifier property.
|
java.lang.String |
get_Name()
Returns the value of the Name property.
|
java.lang.String |
get_Owner()
Returns the value of the Owner property.
|
AccessPermissionList |
get_Permissions()
Returns the value of the Permissions property.
|
IndependentObject |
get_Tail()
Returns the value of the Tail property.
|
void |
set_Creator(java.lang.String value)
Sets the value of the Creator property.
|
void |
set_DateCreated(java.util.Date value)
Sets the value of the DateCreated property.
|
void |
set_DateLastModified(java.util.Date value)
Sets the value of the DateLastModified property.
|
void |
set_Head(IndependentObject value)
Sets the value of the Head property.
|
void |
set_LastModifier(java.lang.String value)
Sets the value of the LastModifier property.
|
void |
set_Owner(java.lang.String value)
Sets the value of the Owner property.
|
void |
set_Permissions(AccessPermissionList value)
Sets the value of the Permissions property.
|
void |
set_Tail(IndependentObject value)
Sets the value of the Tail property.
|
getObjectStore
get_ExternalReplicaIdentities, get_ReplicationGroup, set_ExternalReplicaIdentities, set_ReplicationGroup
raiseEvent
addPendingAction, clearPendingActions, delete, getAccessAllowed, getPendingActions, getUpdateSequenceNumber, isCurrent, save, save, setUpdateSequenceNumber
fetchProperties, fetchProperties, fetchProperty, fetchProperty, getObjectReference, refresh, refresh, refresh
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
java.lang.String get_Creator()
void set_Creator(java.lang.String value)
java.util.Date get_DateCreated()
void set_DateCreated(java.util.Date value)
java.lang.String get_LastModifier()
void set_LastModifier(java.lang.String value)
java.util.Date get_DateLastModified()
void set_DateLastModified(java.util.Date value)
Id get_Id()
java.lang.String get_Name()
EventSet get_AuditedEvents()
java.lang.String get_Owner()
void set_Owner(java.lang.String value)
AccessPermissionList get_Permissions()
void set_Permissions(AccessPermissionList value)
ActiveMarkingList get_ActiveMarkings()
IndependentObject get_Head()
void set_Head(IndependentObject value)
IndependentObject get_Tail()
void set_Tail(IndependentObject value)
java.lang.Boolean get_CmIsMarkedForDeletion()
void changeClass(java.lang.String className)
changeClass
method does not modify the security for an object, even if the object's current security
is derived from the default security for its source class. For the object's user-defined properties,
the following rules apply:
null
if there is no default defined).null
) as the default value defined in the original class will be set
to the default value defined by the new class. However, any user-defined property that has had its value
modified from the default value will retain that modified value in the new class.When the class of a document object is changed, the default document lifecycle policy of the new class will only be applied to the document object's DocumentLifecyclePolicy property if both of the following scenarios occur:
Changing the document class of a document object has no effect on the storage location of the document’s content. For more information, see the Document Storage topic in the "Document Concepts" section of the Content Engine Java and .NET API Developer’s Guide.
className
- A String
specifying the symbolic name, ClassNames
constant, ID, or GUIDConstants
constant of the class to which this object is to be changed.E_NULL_OR_INVALID_PARAM_VALUE
- if className
is null
or has a length of zero.© Copyright IBM Corporation 2006, 2015. All rights reserved.