public static class OwRecordSetView.OwObjectSetEntry extends Object implements com.wewebu.ow.server.ecm.OwObjectReference
Class defining a single object reference instance.
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 |
---|---|
protected int |
m_iType
object type
|
protected String |
m_sMimeType
MIME type
|
protected String |
m_strDmsID
the DMSID of the object
|
protected String |
m_strName
the name that should be displayed for the object
|
protected String |
m_strSubFolderPath
last opened sub folder path
|
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 |
---|
OwRecordSetView.OwObjectSetEntry(com.wewebu.ow.server.ecm.OwRepository repository_p)
construct a recent record entry from a object reference
|
OwRecordSetView.OwObjectSetEntry(String sSerializedEntry_p,
com.wewebu.ow.server.ecm.OwRepository repository_p)
load entry from a string
|
Modifier and Type | Method and Description |
---|---|
String |
getDMSID()
get the ECM specific ID of the Object.
|
String |
getID()
get Object symbolic name of the object which is unique among its
siblings used for path construction
|
com.wewebu.ow.server.ecm.OwObject |
getInstance()
get an instance from this reference
|
String |
getMIMEParameter()
get the additional MIME Parameter of the Object
|
String |
getMIMEType()
get the MIME Type of the Object
|
String |
getName()
get Object name property string
|
int |
getPageCount()
retrieve the number of pages in the objects
|
String |
getResourceID()
get the ID / name identifying the resource the object belongs to
|
String |
getSubFolderPath()
Return the current sub folder path
|
int |
getType()
get Object type
|
boolean |
hasContent(int iContext_p)
check if the object contains a content, which can be retrieved using
getContentCollection
|
void |
save(StringBuffer buf_p)
write entry to a string buffer
|
protected String m_strName
protected int m_iType
protected String m_strDmsID
protected String m_sMimeType
protected String m_strSubFolderPath
public OwRecordSetView.OwObjectSetEntry(com.wewebu.ow.server.ecm.OwRepository repository_p) throws Exception
Exception
public OwRecordSetView.OwObjectSetEntry(String sSerializedEntry_p, com.wewebu.ow.server.ecm.OwRepository repository_p)
sSerializedEntry_p
- public com.wewebu.ow.server.ecm.OwObject getInstance() throws Exception
getInstance
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
- , OwObjectNotFoundExceptionpublic String getResourceID() throws Exception
getResourceID
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
- , OwObjectNotFoundExceptionOwResource
public void save(StringBuffer buf_p) throws Exception
buf_p
- StringBufferException
public String getName()
getName
in interface com.wewebu.ow.server.ecm.OwObjectReference
public String getID()
getID
in interface com.wewebu.ow.server.ecm.OwObjectReference
public int getType()
getType
in interface com.wewebu.ow.server.ecm.OwObjectReference
public String getDMSID() throws Exception
getDMSID
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 getMIMEType() throws Exception
getMIMEType
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public String getMIMEParameter() throws Exception
getMIMEParameter
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public boolean hasContent(int iContext_p) throws Exception
hasContent
in interface com.wewebu.ow.server.ecm.OwObjectReference
iContext_p
- as defined by OwStatusContextDefinitions
Exception
public String getSubFolderPath()
null
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.