Nuxeo ECM Projects 5.6-RC1

org.nuxeo.apidoc.adapters
Class ServiceInfoDocAdapter

java.lang.Object
  extended by org.nuxeo.apidoc.api.BaseNuxeoArtifact
      extended by org.nuxeo.apidoc.adapters.BaseNuxeoArtifactDocAdapter
          extended by org.nuxeo.apidoc.adapters.ServiceInfoDocAdapter
All Implemented Interfaces:
NuxeoArtifact, ServiceInfo

public class ServiceInfoDocAdapter
extends BaseNuxeoArtifactDocAdapter
implements ServiceInfo


Field Summary
 
Fields inherited from interface org.nuxeo.apidoc.api.ServiceInfo
PROP_CLASS_NAME, PROP_COMPONENT_ID, TYPE_NAME
 
Constructor Summary
ServiceInfoDocAdapter(DocumentModel doc)
           
 
Method Summary
static ServiceInfoDocAdapter create(ServiceInfo si, CoreSession session, String containerPath)
           
 String getArtifactType()
           
 String getComponentId()
           
 String getHierarchyPath()
           
 String getId()
           
 String getVersion()
           
 
Methods inherited from class org.nuxeo.apidoc.adapters.BaseNuxeoArtifactDocAdapter
getDoc, hashCode, releaseLocalCoreSession, setLocalCoreSession
 
Methods inherited from class org.nuxeo.apidoc.api.BaseNuxeoArtifact
getAssociatedDocuments
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.apidoc.api.NuxeoArtifact
getAssociatedDocuments
 

Constructor Detail

ServiceInfoDocAdapter

public ServiceInfoDocAdapter(DocumentModel doc)
Method Detail

create

public static ServiceInfoDocAdapter create(ServiceInfo si,
                                           CoreSession session,
                                           String containerPath)
                                    throws Exception
Throws:
Exception

getId

public String getId()
Specified by:
getId in interface NuxeoArtifact
Specified by:
getId in class BaseNuxeoArtifact

getArtifactType

public String getArtifactType()
Specified by:
getArtifactType in interface NuxeoArtifact

getVersion

public String getVersion()
Specified by:
getVersion in interface NuxeoArtifact

getComponentId

public String getComponentId()
Specified by:
getComponentId in interface ServiceInfo

getHierarchyPath

public String getHierarchyPath()
Specified by:
getHierarchyPath in interface NuxeoArtifact
Overrides:
getHierarchyPath in class BaseNuxeoArtifactDocAdapter

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.