|
||||||||||
| 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.openmdx.base.jdo2.Segment
org.opencrx.kernel.jdo2.Segment
org.opencrx.kernel.workflow1.jdo2.Segment
public class Segment
Class Segment
| Nested Class Summary | |
|---|---|
static class |
Segment.Slice
Slice object hold the Segment's multivalued
attributes |
| Nested classes/interfaces inherited from class org.openmdx.base.jdo2.Segment |
|---|
org.openmdx.base.jdo2.Segment.Identity |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| Nested classes/interfaces inherited from interface org.openmdx.base.cci2.Segment |
|---|
org.openmdx.base.cci2.Segment.Identity |
| Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
PersistenceCapable.ObjectIdFieldConsumer, PersistenceCapable.ObjectIdFieldManager, PersistenceCapable.ObjectIdFieldSupplier |
| Field Summary | |
|---|---|
static List<String> |
CLASS
Define the model class org::opencrx::kernel::workflow1::Segment |
| Fields inherited from class org.openmdx.base.jdo2.Segment |
|---|
BASE_CLASS |
| Fields inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE |
| Constructor Summary | |
|---|---|
Segment()
|
|
| Method Summary | ||
|---|---|---|
ModifySecureObjectResult |
addOwningGroup(PrincipalGroup group,
short mode)
|
|
void |
addTopic(boolean idIsPersistent,
String id,
Topic topic)
Adds the specified element to the set of the values for the reference topic. |
|
void |
addWfProcess(boolean idIsPersistent,
String id,
AbstractTask wfProcess)
Adds the specified element to the set of the values for the reference wfProcess. |
|
CheckPermissionsResult |
checkPermissions(String principalName)
|
|
ExportResult |
exportXml(String attributeFilter,
String referenceFilter)
|
|
org.openmdx.base.cci2.BasicObject |
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. |
|
|
getAudit()
Retrieves a set containing all the elements for the reference audit. |
|
AuditEntry |
getAudit(boolean idIsPersistent,
String id)
Retrieves the value for the reference audit for the
specified qualifier attribute value. |
|
|
getIndexEntry()
Retrieves a set containing all the elements for the reference indexEntry. |
|
IndexEntry |
getIndexEntry(boolean idIsPersistent,
String id)
Retrieves the value for the reference indexEntry for the
specified qualifier attribute value. |
|
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. |
|
|
getTopic()
Retrieves a set containing all the elements for the reference topic. |
|
Topic |
getTopic(boolean idIsPersistent,
String id)
Retrieves the value for the reference topic for the
specified qualifier attribute value. |
|
|
getWfProcess()
Retrieves a set containing all the elements for the reference wfProcess. |
|
AbstractTask |
getWfProcess(boolean idIsPersistent,
String id)
Retrieves the value for the reference wfProcess for the
specified qualifier attribute value. |
|
ImportResult |
importItem(byte[] item,
String itemMimeType,
String itemName,
short locale)
|
|
static org.openmdx.base.jdo2.Segment.Identity |
newIdentity(org.openmdx.base.cci2.Provider.Identity provider,
boolean qualifiedNameIsPersistent,
String qualifiedName)
|
|
protected org.w3c.jdo2.AbstractObject.Slice |
newSlice(int index)
|
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
static org.openmdx.base.jdo2.Segment.Identity |
openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
|
ModifySecureObjectResult |
removeAllOwningGroup(short mode)
|
|
ModifySecureObjectResult |
removeOwningGroup(PrincipalGroup group,
short mode)
|
|
ModifySecureObjectResult |
setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
|
|
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. |
|
ModifySecureObjectResult |
setOwningUser(short mode,
User user)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
UpdateIndexResult |
updateIndex()
|
|
| Methods inherited from class org.opencrx.kernel.jdo2.Segment |
|---|
openmdxjdoGetSlices |
| Methods inherited from class org.openmdx.base.jdo2.Segment |
|---|
addToProvider, addToProvider, getDescription, getProvider, getView, getView, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDetachedInternal, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoPreSerialize, jdoProvideField, jdoProvideFields, jdoReplaceDetachedState, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, setDescription |
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openmdx.base.cci2.Segment |
|---|
getDescription, getProvider, setDescription |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
getView, getView |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::workflow1::Segment
| Constructor Detail |
|---|
public Segment()
| Method Detail |
|---|
public 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 ExportResult exportXml(String attributeFilter,
String referenceFilter)
exportXml in interface XmlExporterpublic 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 ModifySecureObjectResult removeAllOwningGroup(short mode)
removeAllOwningGroup in interface SecureObject
public ModifySecureObjectResult setOwningUser(short mode,
User user)
setOwningUser in interface SecureObjectpublic <T extends PrincipalGroup> List<T> getOwningGroup()
Collection of objects referenced by
owningGroup.
getOwningGroup in interface SecureObjectCollection of referenced objects.public <T extends Topic> Collection<T> getTopic()
topic.
public Topic getTopic(boolean idIsPersistent,
String id)
topic for the
specified qualifier attribute value.
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
public void addTopic(boolean idIsPersistent,
String id,
Topic topic)
topic.
Note: This is an extension to the JMI 1 standard.
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.topic - The element to be appended.
public ModifySecureObjectResult addOwningGroup(PrincipalGroup group,
short mode)
addOwningGroup in interface SecureObjectpublic CheckPermissionsResult checkPermissions(String principalName)
checkPermissions in interface SecureObjectpublic <T extends AuditEntry> Collection<T> getAudit()
audit.
getAudit in interface Auditee
public AuditEntry getAudit(boolean idIsPersistent,
String id)
audit for the
specified qualifier attribute value.
getAudit in interface AuditeeidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
public ModifySecureObjectResult removeOwningGroup(PrincipalGroup group,
short mode)
removeOwningGroup in interface SecureObject
public ImportResult importItem(byte[] item,
String itemMimeType,
String itemName,
short locale)
importItem in interface Importerpublic <T extends AbstractTask> Collection<T> getWfProcess()
wfProcess.
public AbstractTask getWfProcess(boolean idIsPersistent,
String id)
wfProcess for the
specified qualifier attribute value.
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
public void addWfProcess(boolean idIsPersistent,
String id,
AbstractTask wfProcess)
wfProcess.
Note: This is an extension to the JMI 1 standard.
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.wfProcess - The element to be appended.public UpdateIndexResult updateIndex()
updateIndex in interface Indexedpublic 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 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
setAccessLevel in interface SecureObjectpublic org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.public final List<String> getOwner()
owner.
getOwner in interface SecureObjectpublic <T extends IndexEntry> Collection<T> getIndexEntry()
indexEntry.
getIndexEntry in interface Indexed
public IndexEntry getIndexEntry(boolean idIsPersistent,
String id)
indexEntry for the
specified qualifier attribute value.
getIndexEntry in interface IndexedidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
public 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 Segment
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class Segmentprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
newSlice in class Segmentprotected List<String> openmdxjdoGetClass()
openmdxjdoGetClass in class SegmentSegment.CLASS
public static org.openmdx.base.jdo2.Segment.Identity newIdentity(org.openmdx.base.cci2.Provider.Identity provider,
boolean qualifiedNameIsPersistent,
String qualifiedName)
public static org.openmdx.base.jdo2.Segment.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||