public class ComponentInfoDocAdapter extends BaseNuxeoArtifactDocAdapter implements ComponentInfo
PROP_BUILT_IN_DOC, PROP_COMPONENT_CLASS, PROP_COMPONENT_ID, PROP_COMPONENT_NAME, PROP_IS_XML, PROP_SERVICES, TYPE_NAME
Constructor and Description |
---|
ComponentInfoDocAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static ComponentInfoDocAdapter |
create(ComponentInfo componentInfo,
CoreSession session,
String containerPath) |
String |
getArtifactType() |
BundleInfo |
getBundle() |
String |
getComponentClass() |
String |
getDocumentation() |
String |
getDocumentationHtml() |
ExtensionPointInfo |
getExtensionPoint(String name) |
Collection<ExtensionPointInfo> |
getExtensionPoints() |
Collection<ExtensionInfo> |
getExtensions() |
String |
getId() |
String |
getName() |
List<String> |
getServiceNames() |
List<ServiceInfo> |
getServices() |
String |
getVersion() |
String |
getXmlFileContent() |
String |
getXmlFileName() |
URL |
getXmlFileUrl() |
boolean |
isXmlPureComponent() |
getDoc, getHierarchyPath, hashCode, releaseLocalCoreSession, setLocalCoreSession
getAssociatedDocuments
equals, getClass, notify, notifyAll, toString, wait, wait, wait
getAssociatedDocuments, getHierarchyPath
public ComponentInfoDocAdapter(DocumentModel doc)
public static ComponentInfoDocAdapter create(ComponentInfo componentInfo, CoreSession session, String containerPath) throws Exception
Exception
public BundleInfo getBundle()
getBundle
in interface ComponentInfo
public String getComponentClass()
getComponentClass
in interface ComponentInfo
public String getDocumentation()
getDocumentation
in interface ComponentInfo
public String getDocumentationHtml()
getDocumentationHtml
in interface ComponentInfo
public ExtensionPointInfo getExtensionPoint(String name)
getExtensionPoint
in interface ComponentInfo
public Collection<ExtensionPointInfo> getExtensionPoints()
getExtensionPoints
in interface ComponentInfo
public Collection<ExtensionInfo> getExtensions()
getExtensions
in interface ComponentInfo
public String getName()
getName
in interface ComponentInfo
public List<String> getServiceNames()
getServiceNames
in interface ComponentInfo
public String getXmlFileContent() throws IOException
getXmlFileContent
in interface ComponentInfo
IOException
public String getXmlFileName()
getXmlFileName
in interface ComponentInfo
public URL getXmlFileUrl()
getXmlFileUrl
in interface ComponentInfo
public boolean isXmlPureComponent()
isXmlPureComponent
in interface ComponentInfo
public String getId()
getId
in interface NuxeoArtifact
getId
in class BaseNuxeoArtifact
public String getVersion()
getVersion
in interface NuxeoArtifact
public String getArtifactType()
getArtifactType
in interface NuxeoArtifact
public List<ServiceInfo> getServices()
getServices
in interface ComponentInfo
Copyright © 2013 Nuxeo SA. All Rights Reserved.