public class OwStandardUnresolvedReference extends Object implements OwUnresolvedReference
Base interface for unresolved ECM Objects. Used to determine access errors.
To be implemented with the specific ECM system.
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 |
|---|
OwStandardUnresolvedReference(Exception cause_p,
String reason_p,
String dmsid_p,
String mimetype_p,
String name_p,
int type_p)
construct a unresolved reference object
|
| 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
|
OwObject |
getInstance()
get a 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
|
int |
getType()
get Object type
|
Exception |
getUnresolvedCause()
get the causing exception
|
String |
getUnresolvedReason()
get the reason for being unresolved
|
boolean |
hasContent(int iContext_p)
check if the object contains a content, which can be retrieved using getContentCollection
|
public Exception getUnresolvedCause()
OwUnresolvedReferencegetUnresolvedCause in interface OwUnresolvedReferencepublic String getUnresolvedReason()
OwUnresolvedReferencegetUnresolvedReason in interface OwUnresolvedReferencepublic String getDMSID() throws Exception
OwObjectReferencegetDMSID in interface OwObjectReferenceExceptionpublic String getID()
OwObjectReferencegetID in interface OwObjectReferencepublic String getMIMEParameter() throws Exception
OwObjectReferencegetMIMEParameter in interface OwObjectReferenceExceptionpublic String getMIMEType() throws Exception
OwObjectReferencegetMIMEType in interface OwObjectReferenceExceptionpublic String getName()
OwObjectReferencegetName in interface OwObjectReferencepublic int getPageCount()
throws Exception
OwObjectReferencegetPageCount in interface OwObjectReferenceExceptionpublic int getType()
OwObjectReferencegetType in interface OwObjectReferencepublic OwObject getInstance() throws Exception
getInstance in interface OwObjectReferenceException, - OwObjectNotFoundExceptionExceptionpublic String getResourceID() throws Exception
getResourceID in interface OwObjectReferenceException, - OwObjectNotFoundExceptionExceptionOwResourcepublic boolean hasContent(int iContext_p)
throws Exception
OwObjectReferencehasContent in interface OwObjectReferenceiContext_p - OwStatusContextDefinitionsExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.