Package | Description |
---|---|
org.alfresco.repo.jscript | |
org.alfresco.repo.security.authority.script | |
org.alfresco.repo.web.scripts.archive | |
org.alfresco.util |
Modifier and Type | Method and Description |
---|---|
ScriptPagingDetails |
ScriptUtils.createPaging(int maxItems,
int skipCount)
Builds a paging object, from the supplied
Max Items and Skip Count
|
ScriptPagingDetails |
ScriptUtils.createPaging(int maxItems,
int skipCount,
String queryExecutionId)
Builds a paging object, from the supplied
Max Items, Skip Count and Query Execution ID
|
ScriptPagingDetails |
ScriptUtils.createPaging(Map<String,String> args)
Builds a paging object, from the supplied Args object.
|
Modifier and Type | Method and Description |
---|---|
protected List<PersonService.PersonInfo> |
People.getPeopleImpl(String filter,
ScriptPagingDetails pagingRequest,
String sortBy,
Boolean sortAsc) |
protected List<PersonService.PersonInfo> |
People.getPeopleImplDB(String filter,
ScriptPagingDetails pagingRequest,
String sortBy,
Boolean sortAsc) |
protected List<org.alfresco.service.cmr.repository.NodeRef> |
People.getPeopleImplSearch(String term,
String[] tokens,
ScriptPagingDetails pagingRequest,
String sortBy,
Boolean sortAsc) |
org.mozilla.javascript.Scriptable |
People.getPeoplePaging(String filter,
ScriptPagingDetails pagingRequest,
String sortBy,
Boolean sortAsc) |
Modifier and Type | Method and Description |
---|---|
ScriptGroup[] |
ScriptGroup.getAllParentGroups(ScriptPagingDetails paging,
String sortBy)
Get all the parents of this this group
|
ScriptGroup[] |
ScriptAuthorityService.getAllRootGroups(ScriptPagingDetails paging)
Search the root groups, those without a parent group.
|
ScriptGroup[] |
ScriptAuthorityService.getAllRootGroupsInZone(String zone,
ScriptPagingDetails paging,
String sortBy)
Get the root groups, those without a parent group.
|
Authority[] |
ScriptGroup.getChildAuthorities(ScriptPagingDetails paging,
String sortBy)
Get all the children of this group, regardless of type
|
ScriptGroup[] |
ScriptGroup.getChildGroups(ScriptPagingDetails paging,
String sortBy)
Get child groups of this group
|
ScriptUser[] |
ScriptGroup.getChildUsers(ScriptPagingDetails paging,
String sortBy)
Get child users of this group
|
ScriptGroup[] |
ScriptAuthorityService.getGroups(String filter,
ScriptPagingDetails paging)
Retreives groups matching the given filter from all zones.
|
ScriptGroup[] |
ScriptAuthorityService.getGroups(String filter,
ScriptPagingDetails paging,
String sortBy)
Retreives groups matching the given filter from all zones.
|
ScriptGroup[] |
ScriptAuthorityService.getGroupsInZone(String filter,
String zone,
ScriptPagingDetails paging,
String sortBy)
Deprecated.
|
ScriptGroup[] |
ScriptAuthorityService.getGroupsInZone(String filter,
String zone,
ScriptPagingDetails paging,
String sortBy,
boolean sortAsc)
Retrieves groups matching the given filter from the given zone.
|
ScriptGroup[] |
ScriptGroup.getParentGroups(ScriptPagingDetails paging,
String sortBy)
Get the immediate parents of this group
|
static ScriptGroup[] |
ScriptGroup.makeScriptGroups(Collection<String> authorities,
ScriptPagingDetails paging,
ServiceRegistry serviceRegistry,
org.mozilla.javascript.Scriptable scope)
Deprecated.
|
static ScriptGroup[] |
ScriptGroup.makeScriptGroups(Collection<String> authorities,
ScriptPagingDetails paging,
String sortBy,
boolean sortAsc,
ServiceRegistry serviceRegistry,
org.mozilla.javascript.Scriptable scope) |
static ScriptGroup[] |
ScriptGroup.makeScriptGroups(Collection<String> authorities,
ScriptPagingDetails paging,
String sortBy,
ServiceRegistry serviceRegistry,
org.mozilla.javascript.Scriptable scope)
Deprecated.
|
static ScriptGroup[] |
ScriptGroup.makeScriptGroups(org.alfresco.query.PagingResults<String> pagedGroups,
ScriptPagingDetails paging,
ServiceRegistry serviceRegistry,
org.mozilla.javascript.Scriptable scope)
Deprecated.
|
static ScriptGroup[] |
ScriptGroup.makeScriptGroups(org.alfresco.query.PagingResults<String> pagedGroups,
ScriptPagingDetails paging,
String sortBy,
boolean sortAsc,
ServiceRegistry serviceRegistry,
org.mozilla.javascript.Scriptable scope)
Returns an array of ScriptGroup objects representing the given paged results.
|
static ScriptGroup[] |
ScriptGroup.makeScriptGroupsInfo(org.alfresco.query.PagingResults<AuthorityInfo> pagedGroups,
ScriptPagingDetails paging,
String sortBy,
boolean sortAsc,
ServiceRegistry serviceRegistry,
org.mozilla.javascript.Scriptable scope)
Returns an array of ScriptGroup objects representing the given paged results.
|
ScriptGroup[] |
ScriptAuthorityService.searchGroups(String shortNameFilter,
ScriptPagingDetails paging,
String sortBy)
Search for groups in all zones.
|
ScriptGroup[] |
ScriptAuthorityService.searchGroupsInZone(String shortNameFilter,
String zone,
ScriptPagingDetails paging,
String sortBy)
Search for groups in a specific zone
Includes paging parameters to limit size of results returned.
|
ScriptGroup[] |
ScriptAuthorityService.searchRootGroups(String displayNamePattern,
ScriptPagingDetails paging,
String sortBy)
Search the root groups, those without a parent group.
|
ScriptGroup[] |
ScriptAuthorityService.searchRootGroupsInZone(String displayNamePattern,
String zone,
ScriptPagingDetails paging,
String sortBy)
Search the root groups, those without a parent group.
|
ScriptUser[] |
ScriptAuthorityService.searchUsers(String nameFilter,
ScriptPagingDetails paging,
String sortBy)
Deprecated.
see People.getPeople(String filter, ScriptPagingDetails pagingRequest, String sortBy)
|
Modifier and Type | Method and Description |
---|---|
protected org.alfresco.query.PagingResults<org.alfresco.service.cmr.repository.NodeRef> |
AbstractArchivedNodeWebScript.getArchivedNodesFrom(org.alfresco.service.cmr.repository.StoreRef storeRef,
ScriptPagingDetails paging,
String filter)
* This method gets all nodes from the archive which were originally
contained within the specified StoreRef.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
ModelUtil.buildPaging(ScriptPagingDetails paging)
Returns representation of paging object
|
static <T> List<T> |
ModelUtil.page(Collection<T> objects,
ScriptPagingDetails paging) |
Copyright © 2005–2017 Alfresco Software. All rights reserved.