public interface PatchDAO
Modifier and Type | Method and Description |
---|---|
List<org.alfresco.service.cmr.repository.NodeRef> |
getChildrenOfTheSharedSurfConfigFolder(Long minNodeId,
Long maxNodeId)
Finds folders of the shared surf-config (for all tenants):
company_home/sites/surf-config/components
company_home/sites/surf-config/pages
company_home/sites/surf-config/pages/user
company_home/sites/surf-config/pages/user{userId}
|
long |
getCountNodesWithAspects(Set<org.alfresco.service.namespace.QName> qnames) |
long |
getCountNodesWithTypId(org.alfresco.service.namespace.QName typeQName)
Gets the total number of nodes which match the given Type QName.
|
long |
getMaxAdmNodeID()
Deprecated.
in 4.1: use
NodeDAO.getMaxNodeId() |
List<Long> |
getNodesByAspectQNameId(Long aspectQNameId,
Long minNodeId,
Long maxNodeId)
Find all the nodes ids with the given aspect
|
List<Long> |
getNodesByContentPropertyMimetypeId(Long mimetypeId,
Long minNodeId,
Long maxNodeId)
Find all the nodes ids with the given content property set with the given mimetype
|
List<Long> |
getNodesByTypeQNameAndAspectQNameId(long typeQNameId,
long aspectQNameId,
long minNodeId,
long maxNodeId)
Find all the nodes ids with the given aspect and type
|
List<Long> |
getNodesByTypeQNameId(Long typeQNameId,
Long minNodeId,
Long maxNodeId)
Find all the nodes ids with the given type
|
List<Long> |
getNodesByTypeUriId(Long uriId,
Long minNodeId,
Long maxNodeId)
Find all the nodes ids with the given type uri
|
List<org.alfresco.util.Pair<org.alfresco.service.cmr.repository.NodeRef,String>> |
getNodesOfTypeWithNamePattern(org.alfresco.service.namespace.QName typeQName,
String namePattern)
Query for a list of nodes that have a given type and share the same name pattern (SQL LIKE syntax)
|
int |
updateContentMimetypeIds(Long oldMimetypeId,
Long newMimetypeId)
Update all alf_content_data mimetype references.
|
int |
updatePersonSizeCurrentType()
Update all alf_node_properties of 'sizeCurrent' name to have correct persisted type of Long.
|
@Deprecated long getMaxAdmNodeID()
NodeDAO.getMaxNodeId()
int updateContentMimetypeIds(Long oldMimetypeId, Long newMimetypeId)
oldMimetypeId
- the ID to search fornewMimetypeId
- the ID to change toint updatePersonSizeCurrentType()
List<org.alfresco.util.Pair<org.alfresco.service.cmr.repository.NodeRef,String>> getNodesOfTypeWithNamePattern(org.alfresco.service.namespace.QName typeQName, String namePattern)
typeQName
- the node typenamePattern
- the SQL LIKE patternlong getCountNodesWithAspects(Set<org.alfresco.service.namespace.QName> qnames)
qnames
- the qnames to search forList<Long> getNodesByTypeQNameId(Long typeQNameId, Long minNodeId, Long maxNodeId)
typeQNameId
- - the id of the type qnameminNodeId
- - min node id in the result set - inclusivemaxNodeId
- - max node id in the result set - exclusiveList<Long> getNodesByTypeUriId(Long uriId, Long minNodeId, Long maxNodeId)
uriId
- - the id of the type qname uriminNodeId
- - min node id in the result set - inclusivemaxNodeId
- - max node id in the result set - exclusiveList<Long> getNodesByAspectQNameId(Long aspectQNameId, Long minNodeId, Long maxNodeId)
aspectQNameId
- - the id of the aspect qnameminNodeId
- - min node id in the result set - inclusivemaxNodeId
- - max node id in the result set - exclusiveList<Long> getNodesByContentPropertyMimetypeId(Long mimetypeId, Long minNodeId, Long maxNodeId)
mimetypeId
- - the id of the content data mimetypeminNodeId
- - min node id in the result set - inclusivemaxNodeId
- - max node id in the result set - exclusiveList<Long> getNodesByTypeQNameAndAspectQNameId(long typeQNameId, long aspectQNameId, long minNodeId, long maxNodeId)
typeQNameId
- - the id of the type qnameaspectQNameId
- - the id of the aspect qnameminNodeId
- - min node id in the result set - inclusivemaxNodeId
- - max node id in the result set - exclusivelong getCountNodesWithTypId(org.alfresco.service.namespace.QName typeQName)
typeQName
- the qname to search forList<org.alfresco.service.cmr.repository.NodeRef> getChildrenOfTheSharedSurfConfigFolder(Long minNodeId, Long maxNodeId)
minNodeId
- - min node id in the result set - inclusivemaxNodeId
- - max node id in the result set - exclusiveCopyright © 2005–2017 Alfresco Software. All rights reserved.