public interface ListServiceHandler
Modifier and Type | Interface and Description |
---|---|
static class |
ListServiceHandler.ListItemOperationType
The different kinds of operation which can be performed on
items within a list.
|
Modifier and Type | Method and Description |
---|---|
ListInfoBean |
createList(String listName,
String description,
String dws,
int templateId)
Creates a Data List of the given type
|
void |
deleteList(String listName,
String dws)
Deletes a Data List
|
List<ListTypeBean> |
getAvailableListTypes()
Returns the list of available List Types
|
ListInfoBean |
getList(String listName,
String dws)
Fetches an existing Data List.
|
List<ListInfoBean> |
getListCollection(String siteName)
Returns the names and GUIDs for all the lists in the site.
|
void |
updateListItem(ListInfoBean list,
ListServiceHandler.ListItemOperationType operation,
String id,
Map<org.alfresco.service.namespace.QName,String> fields)
Performs the specified add/update/delete operations against a
single list item.
|
ListInfoBean getList(String listName, String dws) throws SiteDoesNotExistException, FileNotFoundException
ListInfoBean createList(String listName, String description, String dws, int templateId) throws SiteDoesNotExistException, DuplicateChildNodeNameException, org.alfresco.service.cmr.dictionary.InvalidTypeException
SiteDoesNotExistException
DuplicateChildNodeNameException
org.alfresco.service.cmr.dictionary.InvalidTypeException
void deleteList(String listName, String dws) throws SiteDoesNotExistException, FileNotFoundException
listName
- Stringdws
- StringSiteDoesNotExistException
FileNotFoundException
List<ListTypeBean> getAvailableListTypes()
List<ListInfoBean> getListCollection(String siteName) throws SiteDoesNotExistException
siteName
- the name of siteSiteDoesNotExistException
void updateListItem(ListInfoBean list, ListServiceHandler.ListItemOperationType operation, String id, Map<org.alfresco.service.namespace.QName,String> fields) throws FileNotFoundException
FileNotFoundException
Copyright © 2005–2017 Alfresco Software. All rights reserved.