|
||||||||||
| 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.home1.jdo2.Segment
public class Segment
Class Segment
| Nested Class Summary | |
|---|---|
static class |
Segment.Slice
|
| 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.BLOB, org.w3c.jdo2.AbstractObject.CLOB, 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::home1::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 | ||
|---|---|---|
|
addOwningGroup(PrincipalGroup group,
short mode)
|
|
|
createUser(Contact contact,
String initialPassword,
String initialPasswordVerification,
PrincipalGroup primaryUserGroup,
String principalName)
|
|
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. |
|
|
getIndexEntry()
Retrieves a set containing all the elements for the reference indexEntry. |
|
List<String> |
getOwner()
|
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by
owningGroup. |
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
|
getUserHome()
Retrieves a set containing all the elements for the reference userHome. |
|
|
getUserHome(String principalId)
Retrieves the value for the optional reference userHome
for the specified qualifier attribute value. |
|
|
importUsers(byte[] item,
String itemMimeType,
String itemName)
|
|
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)
|
|
|
removeAllOwningGroup(short mode)
|
|
|
removeOwningGroup(PrincipalGroup group,
short mode)
|
|
|
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. |
|
|
setOwningUser(short mode,
User user)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
|
updateIndex()
|
|
| Methods inherited from class org.opencrx.kernel.jdo2.Segment |
|---|
openmdxjdoGetSlices |
| Methods inherited from class org.openmdx.base.jdo2.Segment |
|---|
getDescription, getProvider, 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, setProvider, setProvider |
| 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 |
|---|
openmdxjdoGetIdentity, openmdxjdoGetIdentity, 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, setProvider, setProvider |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
getView |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::home1::Segment
| Constructor Detail |
|---|
public Segment()
| Method Detail |
|---|
public <T extends ModifySecureObjectResult> T addOwningGroup(PrincipalGroup group,
short mode)
throws RefException
addOwningGroup in interface SecureObjectRefExceptionpublic 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 <T extends UserHome> Collection<T> getUserHome()
userHome.
public <T extends UserHome> T getUserHome(String principalId)
userHome
for the specified qualifier attribute value.
principalId - The value for the qualifier attribute that qualifies this reference.
public <T extends AuditEntry> Collection<T> getAudit()
audit.
getAudit in interface Auditee
public <T extends ModifySecureObjectResult> T removeOwningGroup(PrincipalGroup group,
short mode)
throws RefException
removeOwningGroup in interface SecureObjectRefExceptionpublic 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 <T extends org.openmdx.base.cci2.Void> T updateIndex()
throws RefException
updateIndex in interface IndexedRefExceptionpublic 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 <T extends ImportUsersResult> T importUsers(byte[] item,
String itemMimeType,
String itemName)
throws RefException
RefException
public <T extends CreateUserResult> T createUser(Contact contact,
String initialPassword,
String initialPasswordVerification,
PrincipalGroup primaryUserGroup,
String principalName)
throws RefException
RefException
public <T extends ModifySecureObjectResult> T removeAllOwningGroup(short mode)
throws RefException
removeAllOwningGroup in interface SecureObjectRefExceptionpublic org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.
public <T extends ModifySecureObjectResult> T setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
throws RefException
setAccessLevel in interface SecureObjectRefExceptionpublic final List<String> getOwner()
getOwner in interface SecureObjectpublic <T extends IndexEntry> Collection<T> getIndexEntry()
indexEntry.
getIndexEntry in interface Indexed
public <T extends ModifySecureObjectResult> T setOwningUser(short mode,
User user)
throws RefException
setOwningUser in interface SecureObjectRefExceptionpublic 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.public <T extends PrincipalGroup> List<T> getOwningGroup()
Collection of objects referenced by
owningGroup.
getOwningGroup in interface SecureObjectCollection of referenced objects.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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||