com.wewebu.ow.server.ecm
Interface OwResource


public interface OwResource

Base interface for resource objects to identify resources in ECM Adapters that support multiple resources (Archives, ObjectStore...).
In order to distinguish and select the resources, the OwResource class is used as a placeholder for a different resources in a ECM Adapter network.

NOTE: OwResource is also used to distinguish other ECM Adapters in a Collection ECM Adapter Network.

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


Nested Class Summary
static class OwResource.OwClassDescriptionPropertyClass
           Special property class for ClassDescription property.
static class OwResource.OwObjectNamePropertyClass
           Special property class for the object name property.
static class OwResource.OwObjectPathPropertyClass
           Special property class for the object path property.
static class OwResource.OwResourcePropertyClass
           Special property class for resource property.
static class OwResource.OwSpecialPropertyClass
           Class description for special classes, which are added manually.
static class OwResource.OwVersionSeriesPropertyClass
           Special property class for VersionSeries ID property.
 
Field Summary
static OwResource.OwClassDescriptionPropertyClass m_ClassDescriptionPropertyClass
          the one and only instance of the OwStandardPropertyClass for ClassDescription properties, which are added manually
static OwResource.OwObjectNamePropertyClass m_ObjectNamePropertyClass
          the one and only instance of the OwStandardPropertyClass property class, which are added manually
static OwResource.OwObjectPathPropertyClass m_ObjectPathPropertyClass
          the one and only instance of the OwStandardPropertyClass property class, which are added manually
static OwResource.OwResourcePropertyClass m_ResourcePropertyClass
          the one and only instance of the OwStandardPropertyClass for Resource properties, which are added manually
static OwResource.OwVersionSeriesPropertyClass m_VersionSeriesPropertyClass
          the one and only instance of the OwStandardPropertyClass for VersionsSeries properties, which are added manually
 
Method Summary
 String getDescription(Locale locale_p)
          gets a description for the resource
 String getDisplayName(Locale locale_p)
          gets a display name for the resource
 String getID()
          gets a unique ID for the resource
 

Field Detail

m_ClassDescriptionPropertyClass

static final OwResource.OwClassDescriptionPropertyClass m_ClassDescriptionPropertyClass
the one and only instance of the OwStandardPropertyClass for ClassDescription properties, which are added manually


m_ResourcePropertyClass

static final OwResource.OwResourcePropertyClass m_ResourcePropertyClass
the one and only instance of the OwStandardPropertyClass for Resource properties, which are added manually


m_VersionSeriesPropertyClass

static final OwResource.OwVersionSeriesPropertyClass m_VersionSeriesPropertyClass
the one and only instance of the OwStandardPropertyClass for VersionsSeries properties, which are added manually


m_ObjectNamePropertyClass

static final OwResource.OwObjectNamePropertyClass m_ObjectNamePropertyClass
the one and only instance of the OwStandardPropertyClass property class, which are added manually


m_ObjectPathPropertyClass

static final OwResource.OwObjectPathPropertyClass m_ObjectPathPropertyClass
the one and only instance of the OwStandardPropertyClass property class, which are added manually

Method Detail

getDisplayName

String getDisplayName(Locale locale_p)
gets a display name for the resource

Parameters:
locale_p - Locale to use
Returns:
String

getDescription

String getDescription(Locale locale_p)
gets a description for the resource

Parameters:
locale_p - Locale to use
Returns:
String

getID

String getID()
             throws Exception
gets a unique ID for the resource

Returns:
String ID
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.