|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.document1.jdo2.DocumentLink
public class DocumentLink
Class DocumentLink
| Nested Class Summary | |
|---|---|
static class |
DocumentLink.Identity
The object's application identity |
static class |
DocumentLink.Slice
Slice object hold the DocumentLink's multivalued attributes |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| Field Summary | |
|---|---|
static List<String> |
BASE_CLASS
Define this class as base class |
static List<String> |
CLASS
Define the model class org::opencrx::kernel::document1::DocumentLink |
| Constructor Summary | |
|---|---|
DocumentLink()
|
|
| Method Summary | ||
|---|---|---|
ModifySecureObjectResult |
addOwningGroup(ModifyOwningGroupParams in)
|
|
void |
addToDocument(Document document)
Sets a new value for the reference document. |
|
void |
addToDocument(Document document,
boolean idIsPersistent,
String id)
Set the object's composite association org:opencrx:kernel:document1:DocumentContainsLink. |
|
CheckPermissionsResult |
checkPermissions(CheckPermissionsParams in)
|
|
ViewCapable |
getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent. |
|
short |
getAccessLevelBrowse()
Retrieves the value for the attribute accessLevelBrowse. |
|
short |
getAccessLevelDelete()
Retrieves the value for the attribute accessLevelDelete. |
|
short |
getAccessLevelUpdate()
Retrieves the value for the attribute accessLevelUpdate. |
|
|
getContext()
Retrieves the Collection of objects referenced by context. |
|
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
|
Set<String> |
getCreatedBy()
Retrieves a set containing all the elements for the attribute createdBy. |
|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
Document |
getDocument()
Retrieves the value for the reference document. |
|
String |
getIdentity()
Retrieves the value for the attribute identity. |
|
String |
getLinkUri()
Retrieves the value for the attribute linkUri. |
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
|
Set<String> |
getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy. |
|
String |
getName()
Retrieves the value for the attribute name. |
|
List<String> |
getOwner()
Retrieves a list containing all the elements for the attribute owner. |
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by owningGroup. |
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
|
getView()
Retrieves a set containing all the elements for the reference view. |
|
static DocumentLink.Identity |
newIdentity(Document.Identity document,
QualifierType idType,
String id)
|
|
protected org.w3c.jdo2.AbstractObject.Slice |
newSlice(int index)
|
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
|
protected String |
openmdxjdoGetObjectId()
Retrieve the object's JDO identity key |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
static DocumentLink.Identity |
openmdxjdoToIdentity(ObjectId objectId)
|
|
ModifySecureObjectResult |
removeAllOwningGroup(RemoveAllOwningGroupParams in)
|
|
ModifySecureObjectResult |
removeOwningGroup(ModifyOwningGroupParams in)
|
|
ModifySecureObjectResult |
replaceOwningGroup(ModifyOwningGroupsParams in)
|
|
ModifySecureObjectResult |
setAccessLevel(SetAccessLevelParams in)
|
|
void |
setAccessLevelBrowse(short accessLevelBrowse)
Sets a new value for the attribute accessLevelBrowse. |
|
void |
setAccessLevelDelete(short accessLevelDelete)
Sets a new value for the attribute accessLevelDelete. |
|
void |
setAccessLevelUpdate(short accessLevelUpdate)
Sets a new value for the attribute accessLevelUpdate. |
|
void |
setDescription(String description)
Sets a new value for the attribute description. |
|
void |
setLinkUri(String linkUri)
Sets a new value for the attribute linkUri. |
|
void |
setName(String name)
Sets a new value for the attribute name. |
|
ModifySecureObjectResult |
setOwningUser(SetOwningUserParams in)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::document1::DocumentLink
public static final List<String> BASE_CLASS
DocumentLink.CLASS| Constructor Detail |
|---|
public DocumentLink()
| Method Detail |
|---|
protected String openmdxjdoGetObjectId()
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiableprotected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObjectpublic short getAccessLevelDelete()
accessLevelDelete.
getAccessLevelDelete in interface SecureObjectaccessLevelDelete.public void setAccessLevelDelete(short accessLevelDelete)
accessLevelDelete.
setAccessLevelDelete in interface SecureObjectaccessLevelDelete - The non-null new value for attribute accessLevelDelete.public Date getModifiedAt()
modifiedAt.
getModifiedAt in interface BasicObjectmodifiedAt.public String getLinkUri()
linkUri.
getLinkUri in interface DocumentLinklinkUri.public void setLinkUri(String linkUri)
linkUri.
setLinkUri in interface DocumentLinklinkUri - The non-null new value for attribute linkUri.public final Set<String> getModifiedBy()
modifiedBy.
getModifiedBy in interface BasicObjectpublic short getAccessLevelBrowse()
accessLevelBrowse.
getAccessLevelBrowse in interface SecureObjectaccessLevelBrowse.public void setAccessLevelBrowse(short accessLevelBrowse)
accessLevelBrowse.
setAccessLevelBrowse in interface SecureObjectaccessLevelBrowse - The non-null new value for attribute accessLevelBrowse.public String getIdentity()
identity.
getIdentity in interface ExtentCapableidentity.public Document getDocument()
document.
getDocument in interface DocumentLinknull value for this reference.public Date getCreatedAt()
createdAt.
getCreatedAt in interface BasicObjectcreatedAt.public final String getDescription()
description.
getDescription in interface DocumentLinkdescription.public void setDescription(String description)
description.
setDescription in interface DocumentLinkdescription - The possibly null new value for attribute description.public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
removeAllOwningGroup in interface SecureObjectpublic String getName()
name.
getName in interface DocumentLinkname.public void setName(String name)
name.
setName in interface DocumentLinkname - The non-null new value for attribute name.public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
setOwningUser in interface SecureObjectpublic <T extends PrincipalGroup> List<T> getOwningGroup()
Collection of objects referenced by owningGroup.
getOwningGroup in interface SecureObjectCollection of referenced objects.public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
addOwningGroup in interface SecureObjectpublic CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
checkPermissions in interface SecureObjectpublic ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
removeOwningGroup in interface SecureObjectpublic short getAccessLevelUpdate()
accessLevelUpdate.
getAccessLevelUpdate in interface SecureObjectaccessLevelUpdate.public void setAccessLevelUpdate(short accessLevelUpdate)
accessLevelUpdate.
setAccessLevelUpdate in interface SecureObjectaccessLevelUpdate - The non-null new value for attribute accessLevelUpdate.public final Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface BasicObjectpublic ViewCapable getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
setAccessLevel in interface SecureObjectpublic <T extends Context> Map<String,T> getContext()
Collection of objects referenced by context.
getContext in interface ContextCapableCollection of referenced objects.public final List<String> getOwner()
owner.
getOwner in interface SecureObjectpublic ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
replaceOwningGroup in interface SecureObjectpublic <T extends View> ObjectHasView.View<T> getView()
view.
getView in interface ViewCapablepublic User getOwningUser()
owningUser.
getOwningUser in interface SecureObjectnull – value for this reference.public void setOwningUser(User owningUser)
owningUser.
setOwningUser in interface SecureObjectowningUser - The non-null new value for this reference.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObjectprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
protected List<String> openmdxjdoGetClass()
DocumentLink.CLASSpublic void addToDocument(Document document)
document.
document - The non-null new value for this reference.
public void addToDocument(Document document,
boolean idIsPersistent,
String id)
org:opencrx:kernel:document1:DocumentContainsLink.
document - The non-null new value for this object's composite owner.idIsPersistent - Defines whether the id is persistent.id - The non-null new value for this object's qualifier.
public static DocumentLink.Identity newIdentity(Document.Identity document,
QualifierType idType,
String id)
public static DocumentLink.Identity openmdxjdoToIdentity(ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||