|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.base.accessor.jmi.spi.RefObject_1
org.opencrx.kernel.uom1.cci.SegmentImpl
public class SegmentImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
PersistenceCapable.ObjectIdFieldConsumer, PersistenceCapable.ObjectIdFieldManager, PersistenceCapable.ObjectIdFieldSupplier |
| Field Summary |
|---|
| 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 | |
|---|---|
SegmentImpl(Object_1_0 object,
RefClass refClass)
|
|
| Method Summary | |
|---|---|
protected void |
addContext(Context newValue)
|
protected void |
addContext(String id,
Context newValue)
|
protected void |
addExtent(ExtentCapable newValue)
|
protected void |
addExtent(String identity,
ExtentCapable newValue)
|
void |
addOwningGroup(int index,
PrincipalGroup newValue)
|
ModifySecureObjectResult |
addOwningGroup(ModifyOwningGroupParams params)
|
void |
addOwningGroup(PrincipalGroup newValue)
|
ModifySecureObjectResult |
addOwningGroup(PrincipalGroup group,
short mode)
|
void |
addUom(String id,
Uom newValue)
|
void |
addUom(Uom newValue)
|
void |
addUomSchedule(String id,
UomSchedule newValue)
|
void |
addUomSchedule(UomSchedule newValue)
|
protected void |
addView(String namespace,
View newValue)
|
protected void |
addView(View newValue)
|
ExportResult |
exportXml(String attributeFilter,
String referenceFilter)
|
ExportResult |
exportXml(XmlExportParams params)
|
BasicObject |
getAccessGrantedByParent()
Retrieves the value for the optional reference accessGrantedByParent. |
short |
getAccessLevelBrowse()
Retrieves the value for the attribute accessLevelBrowse. |
protected short |
getAccessLevelBrowse(int index)
|
short |
getAccessLevelDelete()
Retrieves the value for the attribute accessLevelDelete. |
protected short |
getAccessLevelDelete(int index)
|
short |
getAccessLevelUpdate()
Retrieves the value for the attribute accessLevelUpdate. |
protected short |
getAccessLevelUpdate(int index)
|
Collection |
getContext()
Retrieves the objects referenced by context. |
Context |
getContext(String id)
Retrieves the value for the reference context for the
specified qualifier attribute value. |
String |
getDescription()
|
Collection |
getExtent()
Retrieves a collection containing all the elements for the reference extent. |
List |
getExtent(ExtentCapableFilter filter)
Retrieves the value for the reference extent for the
specified filter. |
List |
getExtent(ExtentCapableQuery query)
Retrieves the value for the reference extent for the
specified query. |
ExtentCapable |
getExtent(String identity)
Retrieves the value for the reference extent for the
specified qualifier attribute value. |
List |
getOwner()
|
String |
getOwner(int index)
|
Collection |
getOwningGroup()
Retrieves the objects referenced by owningGroup. |
PrincipalGroup |
getOwningGroup(int index)
Retrieves the value for the reference owningGroup for the
specified qualifier attribute value. |
User |
getOwningUser()
Retrieves the value for the optional reference owningUser. |
Provider |
getProvider()
Retrieves the value for the reference provider. |
Collection |
getUom()
Retrieves a collection containing all the elements for the reference uom. |
Uom |
getUom(String id)
Retrieves the value for the reference uom for the
specified qualifier attribute value. |
List |
getUom(UomFilter filter)
Retrieves the value for the reference uom for the
specified filter. |
List |
getUom(UomQuery query)
Retrieves the value for the reference uom for the
specified query. |
Collection |
getUomSchedule()
Retrieves a collection containing all the elements for the reference uomSchedule. |
UomSchedule |
getUomSchedule(String id)
Retrieves the value for the reference uomSchedule for the
specified qualifier attribute value. |
List |
getUomSchedule(UomScheduleFilter filter)
Retrieves the value for the reference uomSchedule for the
specified filter. |
List |
getUomSchedule(UomScheduleQuery query)
Retrieves the value for the reference uomSchedule for the
specified query. |
Collection |
getView()
Retrieves a collection containing all the elements for the reference view. |
View |
getView(String namespace)
Retrieves the value for the reference view for the
specified qualifier attribute value. |
List |
getView(ViewFilter filter)
Retrieves the value for the reference view for the
specified filter. |
List |
getView(ViewQuery query)
Retrieves the value for the reference view for the
specified query. |
ImportResult |
importItem(byte[] item,
String itemMimeType,
String itemName,
short locale)
|
ImportResult |
importItem(ImportParams params)
|
protected void |
removeAccessGrantedByParent()
|
ModifySecureObjectResult |
removeAllOwningGroup(RemoveAllOwningGroupParams params)
|
ModifySecureObjectResult |
removeAllOwningGroup(short mode)
|
protected void |
removeContext(String id)
|
protected void |
removeExtent(String identity)
|
void |
removeOwningGroup(int index)
|
ModifySecureObjectResult |
removeOwningGroup(ModifyOwningGroupParams params)
|
ModifySecureObjectResult |
removeOwningGroup(PrincipalGroup group,
short mode)
|
void |
removeOwningUser()
Removes the value for the optional reference owningUser. |
void |
removeUom(String id)
|
void |
removeUomSchedule(String id)
|
protected void |
removeView(String namespace)
|
protected void |
setAccessGrantedByParent(BasicObject newValue)
|
ModifySecureObjectResult |
setAccessLevel(SetAccessLevelParams params)
|
ModifySecureObjectResult |
setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
|
protected void |
setAccessLevelBrowse(int index,
short newValue)
|
void |
setAccessLevelBrowse(short newValue)
Sets a new value for the attribute accessLevelBrowse. |
protected void |
setAccessLevelDelete(int index,
short newValue)
|
void |
setAccessLevelDelete(short newValue)
Sets a new value for the attribute accessLevelDelete. |
protected void |
setAccessLevelUpdate(int index,
short newValue)
|
void |
setAccessLevelUpdate(short newValue)
Sets a new value for the attribute accessLevelUpdate. |
protected void |
setContext(Context[] newValue)
|
protected void |
setContext(List newValue)
|
void |
setDescription(String newValue)
Sets a new value for the attribute description. |
protected void |
setExtent(ExtentCapable[] newValue)
|
protected void |
setExtent(List newValue)
|
protected void |
setOwner(List newValue)
|
protected void |
setOwner(String[] newValue)
|
void |
setOwningGroup(List newValue)
|
void |
setOwningGroup(PrincipalGroup[] newValue)
|
ModifySecureObjectResult |
setOwningUser(SetOwningUserParams params)
|
ModifySecureObjectResult |
setOwningUser(short mode,
User user)
|
void |
setOwningUser(User newValue)
Sets a new value for the reference owningUser. |
protected void |
setProvider(Provider newValue)
|
void |
setUom(List newValue)
|
void |
setUom(Uom[] newValue)
|
void |
setUomSchedule(List newValue)
|
void |
setUomSchedule(UomSchedule[] newValue)
|
protected void |
setView(List newValue)
|
protected void |
setView(View[] newValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
|---|
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface javax.jmi.reflect.RefObject |
|---|
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
| Methods inherited from interface javax.jmi.reflect.RefFeatured |
|---|
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
| Methods inherited from interface javax.jmi.reflect.RefBaseObject |
|---|
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
| Constructor Detail |
|---|
public SegmentImpl(Object_1_0 object,
RefClass refClass)
| Method Detail |
|---|
public ImportResult importItem(ImportParams params)
throws RefException
importItem in interface ImporterRefException
public ImportResult importItem(byte[] item,
String itemMimeType,
String itemName,
short locale)
throws RefException
importItem in interface ImporterRefExceptionpublic BasicObject getAccessGrantedByParent()
SecureObjectaccessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectprotected void setAccessGrantedByParent(BasicObject newValue)
protected void removeAccessGrantedByParent()
public short getAccessLevelBrowse()
SecureObjectaccessLevelBrowse.
getAccessLevelBrowse in interface SecureObjectaccessLevelBrowse.protected short getAccessLevelBrowse(int index)
public void setAccessLevelBrowse(short newValue)
SecureObjectaccessLevelBrowse.
setAccessLevelBrowse in interface SecureObjectnewValue - The non-null new value for attribute accessLevelBrowse.
protected void setAccessLevelBrowse(int index,
short newValue)
public short getAccessLevelDelete()
SecureObjectaccessLevelDelete.
getAccessLevelDelete in interface SecureObjectaccessLevelDelete.protected short getAccessLevelDelete(int index)
public void setAccessLevelDelete(short newValue)
SecureObjectaccessLevelDelete.
setAccessLevelDelete in interface SecureObjectnewValue - The non-null new value for attribute accessLevelDelete.
protected void setAccessLevelDelete(int index,
short newValue)
public short getAccessLevelUpdate()
SecureObjectaccessLevelUpdate.
getAccessLevelUpdate in interface SecureObjectaccessLevelUpdate.protected short getAccessLevelUpdate(int index)
public void setAccessLevelUpdate(short newValue)
SecureObjectaccessLevelUpdate.
setAccessLevelUpdate in interface SecureObjectnewValue - The non-null new value for attribute accessLevelUpdate.
protected void setAccessLevelUpdate(int index,
short newValue)
public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
throws RefException
addOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult addOwningGroup(PrincipalGroup group,
short mode)
throws RefException
addOwningGroup in interface SecureObjectRefExceptionpublic List getOwner()
getOwner in interface SecureObjectpublic String getOwner(int index)
getOwner in interface SecureObjectindex - The index of the element to return.
protected void setOwner(List newValue)
protected void setOwner(String[] newValue)
public void setOwningGroup(List newValue)
public void setOwningGroup(PrincipalGroup[] newValue)
public PrincipalGroup getOwningGroup(int index)
SecureObjectowningGroup for the
specified qualifier attribute value.
getOwningGroup in interface SecureObjectindex - The value for the qualifier attribute that qualifies this reference.
public Collection getOwningGroup()
SecureObjectowningGroup.
getOwningGroup in interface SecureObject
public void addOwningGroup(int index,
PrincipalGroup newValue)
addOwningGroup in interface SecureObjectindex - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.public void addOwningGroup(PrincipalGroup newValue)
addOwningGroup in interface SecureObjectnewValue - The element to be appended.public void removeOwningGroup(int index)
removeOwningGroup in interface SecureObjectpublic User getOwningUser()
SecureObjectowningUser.
getOwningUser in interface SecureObjectpublic void setOwningUser(User newValue)
SecureObjectowningUser.
setOwningUser in interface SecureObjectnewValue - The non-null new value for this reference.public void removeOwningUser()
SecureObjectowningUser.
removeOwningUser in interface SecureObject
public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
throws RefException
removeAllOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult removeAllOwningGroup(short mode)
throws RefException
removeAllOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
throws RefException
removeOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult removeOwningGroup(PrincipalGroup group,
short mode)
throws RefException
removeOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)