public class OwSimpleObject extends Object implements com.wewebu.ow.server.ecm.OwObject
Defines an object like a document, folder, custom object, root...
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
OBJECT_TYPE_ALL_CONTAINER_OBJECTS, OBJECT_TYPE_ALL_CONTENT_OBJECTS, OBJECT_TYPE_ALL_TUPLE_OBJECTS, OBJECT_TYPE_ALL_WORKFLOW_OBJECTS, OBJECT_TYPE_BPM_ROOT_FOLDER, OBJECT_TYPE_CONTAINER_USER_START, OBJECT_TYPE_CONTENT_USER_START, OBJECT_TYPE_CROSS_QUEUE_FOLDER, OBJECT_TYPE_CUSTOM, OBJECT_TYPE_DOCUMENT, OBJECT_TYPE_DYNAMIC_VIRTUAL_FOLDER, OBJECT_TYPE_ECM_ROOT_FOLDER, OBJECT_TYPE_FOLDER, OBJECT_TYPE_HISTORY, OBJECT_TYPE_LINK, OBJECT_TYPE_PROXY_QUEUE_FOLDER, OBJECT_TYPE_PUBLIC_QUEUE_FOLDER, OBJECT_TYPE_ROSTER_FOLDER, OBJECT_TYPE_ROSTERITEM, OBJECT_TYPE_STORED_SEARCH, OBJECT_TYPE_SYS_QUEUE_FOLDER, OBJECT_TYPE_TRACKER_QUEUE_FOLDER, OBJECT_TYPE_TUPLE_USER_START, OBJECT_TYPE_UNDEFINED, OBJECT_TYPE_USER_QUEUE_FOLDER, OBJECT_TYPE_VIRTUAL_FOLDER, OBJECT_TYPE_WORKFLOW_USER_START, OBJECT_TYPE_WORKITEM, OBJECT_TYPE_WORKITEM_PROXY, OBJECT_TYPE_WORKITEM_TRACKER
Constructor and Description |
---|
OwSimpleObject(OwSimpleNetwork owSimpleNetwork_p,
OwSimpleObjectClass objectclass_p,
String name_p)
create an object
|
Modifier and Type | Method and Description |
---|---|
void |
add(com.wewebu.ow.server.ecm.OwObject object_p) |
boolean |
canAdd(com.wewebu.ow.server.ecm.OwObject object_p,
int context_p) |
boolean |
canChangeClass() |
boolean |
canDelete(int context_p) |
boolean |
canFilterChilds() |
boolean |
canGetContent(int contentType_p,
int context_p) |
boolean |
canGetPermissions() |
boolean |
canGetProperties(int context_p) |
boolean |
canLock() |
boolean |
canMove(com.wewebu.ow.server.ecm.OwObject object_p,
com.wewebu.ow.server.ecm.OwObject oldParent_p,
int context_p) |
boolean |
canRemoveReference(com.wewebu.ow.server.ecm.OwObject object_p,
int context_p) |
boolean |
canSetContent(int contentType_p,
int context_p) |
boolean |
canSetPermissions() |
boolean |
canSetProperties(int context_p) |
void |
changeClass(String strNewClassName_p,
com.wewebu.ow.server.ecm.OwPropertyCollection properties_p,
com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p) |
void |
delete() |
int |
getChildCount(int[] objectTypes_p,
int context_p) |
com.wewebu.ow.server.ecm.OwObjectCollection |
getChilds(int[] objectTypes_p,
Collection propertyNames_p,
com.wewebu.ow.server.field.OwSort sort_p,
int maxSize_p,
int versionSelection_p,
com.wewebu.ow.server.field.OwSearchNode filterCriteria_p) |
String |
getClassName()
get the name of the defining class
|
com.wewebu.ow.server.ecm.OwPermissionCollection |
getClonedPermissions() |
com.wewebu.ow.server.ecm.OwPropertyCollection |
getClonedProperties(Collection propertyNames_p)
get the properties cloned, i.e.
|
Collection |
getColumnInfoList() |
com.wewebu.ow.server.ecm.OwContentCollection |
getContentCollection() |
String |
getDMSID()
get a unique ID for the object that can be used in OwSimpleNetwork.getObjectFromDMSID to recreate the object
|
com.wewebu.ow.server.field.OwField |
getField(String strFieldClassName_p)
implement's a mediator pattern for clients that need access to neighbor field's, called by core
|
String |
getFieldProviderName()
implement's a mediator pattern for clients that need access to neighbor field's, called by core
|
Object |
getFieldProviderSource()
implement's a mediator pattern for clients that need access to neighbor field's, called by core
|
int |
getFieldProviderType()
implement's a mediator pattern for clients that need access to neighbor field's, called by core
|
Collection |
getFields()
implement's a mediator pattern for clients that need access to neighbor field's, called by core
|
Collection |
getFilterProperties(Collection propertynames_p) |
String |
getID()
get an ID for the object that is unique among it's sibling's
|
com.wewebu.ow.server.ecm.OwObject |
getInstance()
get this instance
|
boolean |
getLock(int context_p) |
String |
getLockUserID(int context_p) |
String |
getMIMEParameter() |
String |
getMIMEType() |
boolean |
getMyLock(int context_p) |
String |
getName()
get the name
|
Object |
getNativeObject() |
OwSimpleNetwork |
getNetwork() |
com.wewebu.ow.server.ecm.OwObjectClass |
getObjectClass()
get the defining class
|
int |
getPageCount() |
com.wewebu.ow.server.ecm.OwObjectCollection |
getParents() |
String |
getPath() |
com.wewebu.ow.server.ecm.OwPermissionCollection |
getPermissions() |
com.wewebu.ow.server.ecm.OwPropertyCollection |
getProperties(Collection propertyNames_p)
get the object properties
|
com.wewebu.ow.server.ecm.OwProperty |
getProperty(String strPropertyName_p)
get one property
throw OwObjectNotFoundException if not found
|
com.wewebu.ow.server.ecm.OwResource |
getResource() |
String |
getResourceID() |
Object |
getSafeFieldValue(String name_p,
Object defaultvalue_p)
implement's a mediator pattern for clients that need access to neighbor field's, called by core
|
com.wewebu.ow.server.field.OwSearchTemplate |
getSearchTemplate() |
int |
getType() |
com.wewebu.ow.server.ecm.OwVersion |
getVersion() |
com.wewebu.ow.server.ecm.OwVersionSeries |
getVersionSeries() |
boolean |
hasChilds(int[] objectTypes_p,
int context_p) |
boolean |
hasContent(int context_p) |
boolean |
hasVersionSeries() |
void |
move(com.wewebu.ow.server.ecm.OwObject object_p,
com.wewebu.ow.server.ecm.OwObject oldParent_p) |
void |
refreshProperties() |
void |
refreshProperties(Collection props_p) |
void |
removeReference(com.wewebu.ow.server.ecm.OwObject object_p) |
void |
setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content_p) |
void |
setField(String name_p,
Object value_p) |
boolean |
setLock(boolean lock_p) |
void |
setPermissions(com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p) |
void |
setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p) |
void |
setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p,
Object mode_p) |
public OwSimpleObject(OwSimpleNetwork owSimpleNetwork_p, OwSimpleObjectClass objectclass_p, String name_p) throws Exception
Exception
public OwSimpleNetwork getNetwork()
public com.wewebu.ow.server.field.OwField getField(String strFieldClassName_p) throws Exception, com.wewebu.ow.server.exceptions.OwObjectNotFoundException
getField
in interface com.wewebu.ow.server.field.OwFieldProvider
Exception
com.wewebu.ow.server.exceptions.OwObjectNotFoundException
public String getFieldProviderName()
getFieldProviderName
in interface com.wewebu.ow.server.field.OwFieldProvider
public Object getFieldProviderSource()
getFieldProviderSource
in interface com.wewebu.ow.server.field.OwFieldProvider
public int getFieldProviderType()
getFieldProviderType
in interface com.wewebu.ow.server.field.OwFieldProvider
public Collection getFields() throws Exception
getFields
in interface com.wewebu.ow.server.field.OwFieldProvider
Exception
public Object getSafeFieldValue(String name_p, Object defaultvalue_p)
getSafeFieldValue
in interface com.wewebu.ow.server.field.OwFieldProvider
public String getDMSID() throws Exception
getDMSID
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public String getID()
getID
in interface com.wewebu.ow.server.ecm.OwObjectReference
public com.wewebu.ow.server.ecm.OwPropertyCollection getProperties(Collection propertyNames_p) throws Exception
getProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwProperty getProperty(String strPropertyName_p) throws Exception
getProperty
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwObject getInstance() throws Exception
getInstance
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public String getName()
getName
in interface com.wewebu.ow.server.ecm.OwObjectReference
public String getClassName()
getClassName
in interface com.wewebu.ow.server.ecm.OwObject
public com.wewebu.ow.server.ecm.OwPropertyCollection getClonedProperties(Collection propertyNames_p) throws Exception
getClonedProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwObjectClass getObjectClass()
getObjectClass
in interface com.wewebu.ow.server.ecm.OwObject
public String getMIMEType() throws Exception
getMIMEType
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public void add(com.wewebu.ow.server.ecm.OwObject object_p) throws Exception
add
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canAdd(com.wewebu.ow.server.ecm.OwObject object_p, int context_p) throws Exception
canAdd
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canChangeClass() throws Exception
canChangeClass
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canDelete(int context_p) throws Exception
canDelete
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canFilterChilds() throws Exception
canFilterChilds
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canGetContent(int contentType_p, int context_p) throws Exception
canGetContent
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canGetPermissions() throws Exception
canGetPermissions
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canGetProperties(int context_p) throws Exception
canGetProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canLock() throws Exception
canLock
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canMove(com.wewebu.ow.server.ecm.OwObject object_p, com.wewebu.ow.server.ecm.OwObject oldParent_p, int context_p) throws Exception
canMove
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canRemoveReference(com.wewebu.ow.server.ecm.OwObject object_p, int context_p) throws Exception
canRemoveReference
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canSetContent(int contentType_p, int context_p) throws Exception
canSetContent
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canSetPermissions() throws Exception
canSetPermissions
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canSetProperties(int context_p) throws Exception
canSetProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void changeClass(String strNewClassName_p, com.wewebu.ow.server.ecm.OwPropertyCollection properties_p, com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p) throws Exception
changeClass
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void delete() throws Exception
delete
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public int getChildCount(int[] objectTypes_p, int context_p) throws Exception
getChildCount
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwObjectCollection getChilds(int[] objectTypes_p, Collection propertyNames_p, com.wewebu.ow.server.field.OwSort sort_p, int maxSize_p, int versionSelection_p, com.wewebu.ow.server.field.OwSearchNode filterCriteria_p) throws Exception
getChilds
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwPermissionCollection getClonedPermissions() throws Exception
getClonedPermissions
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public Collection getColumnInfoList() throws Exception
getColumnInfoList
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwContentCollection getContentCollection() throws Exception
getContentCollection
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public Collection getFilterProperties(Collection propertynames_p) throws Exception
getFilterProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean getLock(int context_p) throws Exception
getLock
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public String getLockUserID(int context_p) throws Exception
getLockUserID
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean getMyLock(int context_p) throws Exception
getMyLock
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public Object getNativeObject() throws Exception
getNativeObject
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwObjectCollection getParents() throws Exception
getParents
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public String getPath() throws Exception
getPath
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwPermissionCollection getPermissions() throws Exception
getPermissions
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwResource getResource() throws Exception
getResource
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.field.OwSearchTemplate getSearchTemplate() throws Exception
getSearchTemplate
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwVersion getVersion() throws Exception
getVersion
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwVersionSeries getVersionSeries() throws Exception
getVersionSeries
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean hasChilds(int[] objectTypes_p, int context_p) throws Exception
hasChilds
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean hasVersionSeries() throws Exception
hasVersionSeries
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void move(com.wewebu.ow.server.ecm.OwObject object_p, com.wewebu.ow.server.ecm.OwObject oldParent_p) throws Exception
move
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void refreshProperties() throws Exception
refreshProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void refreshProperties(Collection props_p) throws Exception
refreshProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void removeReference(com.wewebu.ow.server.ecm.OwObject object_p) throws Exception
removeReference
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content_p) throws Exception
setContentCollection
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean setLock(boolean lock_p) throws Exception
setLock
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void setPermissions(com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p) throws Exception
setPermissions
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p) throws Exception
setProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p, Object mode_p) throws Exception
setProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public String getMIMEParameter() throws Exception
getMIMEParameter
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public int getPageCount() throws Exception
getPageCount
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public String getResourceID() throws Exception
getResourceID
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public int getType()
getType
in interface com.wewebu.ow.server.ecm.OwObjectReference
public boolean hasContent(int context_p) throws Exception
hasContent
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.