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()
OwVIId
getObjectId
in interface OwVIId
public OwVIIdType getType()
OwVIId
OwVIId.getTypeAsString()
.getType
in interface OwVIId
OwVIId.getTypeAsString()
public String getTypeAsString()
OwVIId
OwVIId.getType()
returns null, this value will be handled as representation of object type.getTypeAsString
in interface OwVIId
public String getResourceId()
OwVIId
getResourceId
in interface OwVIId
public String getViidAsString()
OwVIId
getViidAsString
in interface OwVIId
public static String getUoidString(String resourceId, String objectId, OwVIIdType type)
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.