public interface OwVIId
Interface for Version Independent Id representation. An unique object Id is an independent representation of an object from it's current state or version, which allow identifying/referencing the object. Based on that Id, the newest/latest state of object can be resolved/queried.
Syntax of a generated VIId is:
viid,{objectType},{object/versionseries Id},{resource Id}
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
OwVIIdType
Modifier and Type | Field and Description |
---|---|
static String |
SEPARATOR |
static String |
VIID_PREFIX |
Modifier and Type | Method and Description |
---|---|
String |
getObjectId()
Get the ObjectId.
|
String |
getResourceId()
ResourceId of the object.
|
OwVIIdType |
getType()
An enumeration representation of the object type.
|
String |
getTypeAsString()
A string representation of the object type,
by default the prefix of the OwVIIdType.
|
String |
getViidAsString()
Get a string which represents this object id instance.
|
static final String VIID_PREFIX
static final String SEPARATOR
String getObjectId()
OwVIIdType getType()
getTypeAsString()
.getTypeAsString()
String getTypeAsString()
getType()
returns null, this value will be handled as representation of object type.String getResourceId()
String getViidAsString()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.