public class OwDummyObjectLink extends Object implements com.wewebu.ow.server.ecm.OwObjectLink
Dummy link implementation.
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
| Modifier and Type | Field and Description |
|---|---|
static String |
LINKS_PREFIX
prefix for DMSID to identify links
|
OW_LINK_RELATION, OW_LINK_SOURCE, OW_LINK_TARGET, OW_LINK_TYPE_FILTEROBJECT_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 |
|---|
OwDummyObjectLink(com.wewebu.ow.server.ecm.OwObject source,
com.wewebu.ow.server.ecm.OwObject target) |
OwDummyObjectLink(String name,
com.wewebu.ow.server.ecm.OwObjectClass linkClass,
com.wewebu.ow.server.ecm.OwObject source,
com.wewebu.ow.server.ecm.OwObject target) |
OwDummyObjectLink(String name,
com.wewebu.ow.server.ecm.OwObject source,
com.wewebu.ow.server.ecm.OwObject target) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.wewebu.ow.server.ecm.OwObject oObject_p) |
boolean |
canAdd(com.wewebu.ow.server.ecm.OwObject oObject_p,
int iContext_p) |
boolean |
canChangeClass() |
boolean |
canDelete(int iContext_p) |
boolean |
canFilterChilds() |
boolean |
canGetContent(int iContentType_p,
int iContext_p) |
boolean |
canGetPermissions() |
boolean |
canGetProperties(int iContext_p) |
boolean |
canLock() |
boolean |
canMove(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oldParent_p,
int iContext_p) |
boolean |
canRemoveReference(com.wewebu.ow.server.ecm.OwObject oObject_p,
int iContext_p) |
boolean |
canSetContent(int iContentType_p,
int iContext_p) |
boolean |
canSetPermissions() |
boolean |
canSetProperties(int iContext_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[] iObjectTypes_p,
int iContext_p) |
com.wewebu.ow.server.ecm.OwObjectCollection |
getChilds(int[] iObjectTypes_p,
Collection propertyNames_p,
com.wewebu.ow.server.field.OwSort sort_p,
int iMaxSize_p,
int iVersionSelection_p,
com.wewebu.ow.server.field.OwSearchNode filterCriteria_p) |
String |
getClassName() |
com.wewebu.ow.server.ecm.OwPermissionCollection |
getClonedPermissions() |
com.wewebu.ow.server.ecm.OwPropertyCollection |
getClonedProperties(Collection propertyNames_p) |
Collection |
getColumnInfoList() |
com.wewebu.ow.server.ecm.OwContentCollection |
getContentCollection() |
String |
getDMSID() |
com.wewebu.ow.server.field.OwField |
getField(String strFieldClassName_p) |
String |
getFieldProviderName() |
Object |
getFieldProviderSource() |
int |
getFieldProviderType() |
Collection |
getFields() |
Collection<com.wewebu.ow.server.field.OwFieldDefinition> |
getFilterProperties(Collection propertynames_p) |
String |
getID() |
com.wewebu.ow.server.ecm.OwObject |
getInstance() |
boolean |
getLock(int iContext_p) |
String |
getLockUserID(int iContext_p) |
String |
getMIMEParameter() |
String |
getMIMEType() |
boolean |
getMyLock(int iContext_p) |
String |
getName() |
Object |
getNativeObject() |
com.wewebu.ow.server.ecm.OwObjectClass |
getObjectClass() |
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) |
com.wewebu.ow.server.ecm.OwProperty |
getProperty(String strPropertyName_p) |
com.wewebu.ow.server.ecm.OwObjectLinkRelation |
getRelation(com.wewebu.ow.server.ecm.OwObject obj) |
com.wewebu.ow.server.ecm.OwResource |
getResource() |
String |
getResourceID() |
Object |
getSafeFieldValue(String sName_p,
Object defaultvalue_p) |
com.wewebu.ow.server.field.OwSearchTemplate |
getSearchTemplate() |
com.wewebu.ow.server.ecm.OwObjectReference |
getSource() |
com.wewebu.ow.server.ecm.OwObjectReference |
getTarget() |
int |
getType() |
com.wewebu.ow.server.ecm.OwVersion |
getVersion() |
com.wewebu.ow.server.ecm.OwVersionSeries |
getVersionSeries() |
boolean |
hasChilds(int[] iObjectTypes_p,
int iContext_p) |
boolean |
hasContent(int iContext_p) |
boolean |
hasVersionSeries() |
void |
move(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oldParent_p) |
void |
refreshProperties() |
void |
refreshProperties(Collection props_p) |
void |
removeReference(com.wewebu.ow.server.ecm.OwObject oObject_p) |
void |
setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content_p) |
void |
setField(String sName_p,
Object value_p) |
boolean |
setLock(boolean fLock_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 static final String LINKS_PREFIX
public OwDummyObjectLink(com.wewebu.ow.server.ecm.OwObject source,
com.wewebu.ow.server.ecm.OwObject target)
public OwDummyObjectLink(String name, com.wewebu.ow.server.ecm.OwObject source, com.wewebu.ow.server.ecm.OwObject target)
public OwDummyObjectLink(String name, com.wewebu.ow.server.ecm.OwObjectClass linkClass, com.wewebu.ow.server.ecm.OwObject source, com.wewebu.ow.server.ecm.OwObject target)
public String getClassName()
getClassName in interface com.wewebu.ow.server.ecm.OwObjectpublic com.wewebu.ow.server.ecm.OwObjectClass getObjectClass()
getObjectClass in interface com.wewebu.ow.server.ecm.OwObjectpublic com.wewebu.ow.server.ecm.OwObjectCollection getParents()
throws Exception
getParents in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwObjectCollection getChilds(int[] iObjectTypes_p,
Collection propertyNames_p,
com.wewebu.ow.server.field.OwSort sort_p,
int iMaxSize_p,
int iVersionSelection_p,
com.wewebu.ow.server.field.OwSearchNode filterCriteria_p)
throws Exception
getChilds in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean hasChilds(int[] iObjectTypes_p,
int iContext_p)
throws Exception
hasChilds in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic int getChildCount(int[] iObjectTypes_p,
int iContext_p)
throws Exception
getChildCount in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic 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.OwObjectExceptionpublic boolean canChangeClass()
throws Exception
canChangeClass in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canFilterChilds()
throws Exception
canFilterChilds in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic Collection<com.wewebu.ow.server.field.OwFieldDefinition> getFilterProperties(Collection propertynames_p) throws Exception
getFilterProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwVersionSeries getVersionSeries()
throws Exception
getVersionSeries in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean hasVersionSeries()
throws Exception
hasVersionSeries in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwVersion getVersion()
throws Exception
getVersion in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwProperty getProperty(String strPropertyName_p) throws Exception
getProperty in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwPropertyCollection getProperties(Collection propertyNames_p) throws Exception
getProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwPropertyCollection getClonedProperties(Collection propertyNames_p) throws Exception
getClonedProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p)
throws Exception
setProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p,
Object mode_p)
throws Exception
setProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canSetProperties(int iContext_p)
throws Exception
canSetProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canGetProperties(int iContext_p)
throws Exception
canGetProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canLock()
throws Exception
canLock in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean setLock(boolean fLock_p)
throws Exception
setLock in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean getLock(int iContext_p)
throws Exception
getLock in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean getMyLock(int iContext_p)
throws Exception
getMyLock in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic String getLockUserID(int iContext_p) throws Exception
getLockUserID in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void delete()
throws Exception
delete in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canDelete(int iContext_p)
throws Exception
canDelete in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void removeReference(com.wewebu.ow.server.ecm.OwObject oObject_p)
throws Exception
removeReference in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canRemoveReference(com.wewebu.ow.server.ecm.OwObject oObject_p,
int iContext_p)
throws Exception
canRemoveReference in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void add(com.wewebu.ow.server.ecm.OwObject oObject_p)
throws Exception
add in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canAdd(com.wewebu.ow.server.ecm.OwObject oObject_p,
int iContext_p)
throws Exception
canAdd in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void move(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oldParent_p)
throws Exception
move in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canMove(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oldParent_p,
int iContext_p)
throws Exception
canMove in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.field.OwSearchTemplate getSearchTemplate()
throws Exception
getSearchTemplate in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic Collection getColumnInfoList() throws Exception
getColumnInfoList in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwResource getResource()
throws Exception
getResource in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwPermissionCollection getPermissions()
throws Exception
getPermissions in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwPermissionCollection getClonedPermissions()
throws Exception
getClonedPermissions in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canGetPermissions()
throws Exception
canGetPermissions in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canSetPermissions()
throws Exception
canSetPermissions in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void setPermissions(com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p)
throws Exception
setPermissions in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwContentCollection getContentCollection()
throws Exception
getContentCollection in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content_p)
throws Exception
setContentCollection in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canSetContent(int iContentType_p,
int iContext_p)
throws Exception
canSetContent in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canGetContent(int iContentType_p,
int iContext_p)
throws Exception
canGetContent in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void refreshProperties()
throws Exception
refreshProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void refreshProperties(Collection props_p) throws Exception
refreshProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic Object getNativeObject() throws Exception
getNativeObject in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic String getPath() throws Exception
getPath in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic String getResourceID() throws Exception
getResourceID in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic com.wewebu.ow.server.ecm.OwObject getInstance()
throws Exception
getInstance in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic String getName()
getName in interface com.wewebu.ow.server.ecm.OwObjectReferencepublic String getID()
getID in interface com.wewebu.ow.server.ecm.OwObjectReferencepublic int getType()
getType in interface com.wewebu.ow.server.ecm.OwObjectReferencepublic String getDMSID() throws Exception
getDMSID in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic int getPageCount()
throws Exception
getPageCount in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic String getMIMEType() throws Exception
getMIMEType in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic String getMIMEParameter() throws Exception
getMIMEParameter in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic boolean hasContent(int iContext_p)
throws Exception
hasContent in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic 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.OwFieldProviderExceptioncom.wewebu.ow.server.exceptions.OwObjectNotFoundExceptionpublic void setField(String sName_p, Object value_p) throws Exception, com.wewebu.ow.server.exceptions.OwObjectNotFoundException
setField in interface com.wewebu.ow.server.field.OwFieldProviderExceptioncom.wewebu.ow.server.exceptions.OwObjectNotFoundExceptionpublic Object getSafeFieldValue(String sName_p, Object defaultvalue_p)
getSafeFieldValue in interface com.wewebu.ow.server.field.OwFieldProviderpublic Collection getFields() throws Exception
getFields in interface com.wewebu.ow.server.field.OwFieldProviderExceptionpublic int getFieldProviderType()
getFieldProviderType in interface com.wewebu.ow.server.field.OwFieldProviderpublic Object getFieldProviderSource()
getFieldProviderSource in interface com.wewebu.ow.server.field.OwFieldProviderpublic String getFieldProviderName()
getFieldProviderName in interface com.wewebu.ow.server.field.OwFieldProviderpublic com.wewebu.ow.server.ecm.OwObjectReference getTarget()
getTarget in interface com.wewebu.ow.server.ecm.OwObjectLinkpublic com.wewebu.ow.server.ecm.OwObjectReference getSource()
getSource in interface com.wewebu.ow.server.ecm.OwObjectLinkpublic com.wewebu.ow.server.ecm.OwObjectLinkRelation getRelation(com.wewebu.ow.server.ecm.OwObject obj)
getRelation in interface com.wewebu.ow.server.ecm.OwObjectLinkCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.