public class QueryFactory extends DefaultAmetysObjectFactory
AmetysObjectFactory for handling Querys.| Modifier and Type | Field and Description |
|---|---|
protected ContentTypeExtensionPoint |
_cTypeEP
Content type extension point
|
protected GroupManager |
_groupManager
Group manager
|
static String |
QUERY_NODETYPE
JCR nodetype for query
|
_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme| Constructor and Description |
|---|
QueryFactory() |
| Modifier and Type | Method and Description |
|---|---|
(package private) ContentTypeExtensionPoint |
_getContentTypeExtensionPoint()
Getter for the content type extension point
|
(package private) GroupManager |
_getGroupManager()
Group manager getter.
|
Query |
getAmetysObject(Node node,
String parentPath)
Creates a
AmetysObject from a persistent JCR node. |
void |
service(ServiceManager manager) |
getCurrentUser, getWorkspaceNodeconfigure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, getScheme, hasAmetysObjectForIdenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic static final String QUERY_NODETYPE
protected GroupManager _groupManager
protected ContentTypeExtensionPoint _cTypeEP
public QueryFactory()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class DefaultAmetysObjectFactoryServiceExceptionpublic Query getAmetysObject(Node node, String parentPath) throws AmetysRepositoryException
JCRAmetysObjectFactoryAmetysObject from a persistent JCR node.getAmetysObject in interface JCRAmetysObjectFactory<SimpleAmetysObject>getAmetysObject in class DefaultAmetysObjectFactorynode - the JCR node to use.parentPath - the parent Path in the Ametys hierarchy,
may be null if not known yet.AmetysRepositoryException - if an error occurs.GroupManager _getGroupManager()
ContentTypeExtensionPoint _getContentTypeExtensionPoint()