public class OwSimpleVIId extends Object implements OwVIId
Simple implementation of the OwVIId interface.
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
SEPARATOR, VIID_PREFIX| Constructor and Description |
|---|
OwSimpleVIId(String objectId,
String resourceId,
OwVIIdType type) |
OwSimpleVIId(String objectId,
String resourceId,
String type) |
| 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.
|
static String |
getUoidString(String resourceId,
String objectId,
OwVIIdType type) |
String |
getViidAsString()
Get a string which represents this object id instance.
|
static String |
getViidString(String resourceId,
String objectId,
String type) |
public OwSimpleVIId(String objectId, String resourceId, OwVIIdType type)
public String getObjectId()
OwVIIdgetObjectId in interface OwVIIdpublic OwVIIdType getType()
OwVIIdOwVIId.getTypeAsString().getType in interface OwVIIdOwVIId.getTypeAsString()public String getTypeAsString()
OwVIIdOwVIId.getType() returns null, this value will be handled as representation of object type.getTypeAsString in interface OwVIIdpublic String getResourceId()
OwVIIdgetResourceId in interface OwVIIdpublic String getViidAsString()
OwVIIdgetViidAsString in interface OwVIIdpublic static String getUoidString(String resourceId, String objectId, OwVIIdType type)
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.