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()
OwUnresolvedReference
getUnresolvedCause
in interface OwUnresolvedReference
public String getUnresolvedReason()
OwUnresolvedReference
getUnresolvedReason
in interface OwUnresolvedReference
public String getDMSID() throws Exception
OwObjectReference
getDMSID
in interface OwObjectReference
Exception
public String getID()
OwObjectReference
getID
in interface OwObjectReference
public String getMIMEParameter() throws Exception
OwObjectReference
getMIMEParameter
in interface OwObjectReference
Exception
public String getMIMEType() throws Exception
OwObjectReference
getMIMEType
in interface OwObjectReference
Exception
public String getName()
OwObjectReference
getName
in interface OwObjectReference
public int getPageCount() throws Exception
OwObjectReference
getPageCount
in interface OwObjectReference
Exception
public int getType()
OwObjectReference
getType
in interface OwObjectReference
public OwObject getInstance() throws Exception
getInstance
in interface OwObjectReference
Exception,
- OwObjectNotFoundExceptionException
public String getResourceID() throws Exception
getResourceID
in interface OwObjectReference
Exception,
- OwObjectNotFoundExceptionException
OwResource
public boolean hasContent(int iContext_p) throws Exception
OwObjectReference
hasContent
in interface OwObjectReference
iContext_p
- OwStatusContextDefinitionsException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.