public class AlfrescoListServiceHandler extends AbstractAlfrescoListServiceHandler implements org.springframework.beans.factory.InitializingBean
ListServiceHandlerAbstractAlfrescoListServiceHandler.VtiBuiltInListType, AbstractAlfrescoListServiceHandler.VtiListBaseTypeListServiceHandler.ListItemOperationTypeDATALIST_CONTAINER, logger, TYPE_DISCUSSIONS, TYPE_DOCUMENT_LIBRARY, TYPE_LINKS, TYPE_TASKS, TYPE_WIKI| Constructor and Description |
|---|
AlfrescoListServiceHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
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 |
setDataListTypes(Map<Integer,String> dataListTypes)
Sets the list of SharePoint Template IDs to
Alfresco DataList Types
|
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setFileFolderService(org.alfresco.service.cmr.model.FileFolderService fileFolderService)
Set share utils
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set authentication component
|
void |
setSiteService(org.alfresco.service.cmr.site.SiteService siteService)
Set site service
|
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.
|
buildTypepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
authenticationComponent - the authentication component to set (AuthenticationComponent)public void setSiteService(org.alfresco.service.cmr.site.SiteService siteService)
siteService - the site service to set (SiteService)public void setFileFolderService(org.alfresco.service.cmr.model.FileFolderService fileFolderService)
shareUtils - the share utils to set (ShareUtils)public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
public void setDataListTypes(Map<Integer,String> dataListTypes)
public ListInfoBean getList(String listName, String dws) throws org.alfresco.repo.site.SiteDoesNotExistException, org.alfresco.service.cmr.model.FileNotFoundException
ListServiceHandlergetList in interface ListServiceHandlerorg.alfresco.repo.site.SiteDoesNotExistExceptionorg.alfresco.service.cmr.model.FileNotFoundExceptionpublic ListInfoBean createList(String listName, String description, String dws, int templateId) throws org.alfresco.repo.site.SiteDoesNotExistException, org.alfresco.service.cmr.repository.DuplicateChildNodeNameException, org.alfresco.service.cmr.dictionary.InvalidTypeException
ListServiceHandlercreateList in interface ListServiceHandlerorg.alfresco.repo.site.SiteDoesNotExistExceptionorg.alfresco.service.cmr.repository.DuplicateChildNodeNameExceptionorg.alfresco.service.cmr.dictionary.InvalidTypeExceptionpublic void deleteList(String listName, String dws) throws org.alfresco.repo.site.SiteDoesNotExistException, org.alfresco.service.cmr.model.FileNotFoundException
ListServiceHandlerdeleteList in interface ListServiceHandlerorg.alfresco.repo.site.SiteDoesNotExistExceptionorg.alfresco.service.cmr.model.FileNotFoundExceptionpublic List<ListInfoBean> getListCollection(String siteName)
ListServiceHandlergetListCollection in interface ListServiceHandlersiteName - the name of siteListServiceHandler.getListCollection(String)public List<ListTypeBean> getAvailableListTypes()
ListServiceHandlergetAvailableListTypes in interface ListServiceHandlerpublic void updateListItem(ListInfoBean list, ListServiceHandler.ListItemOperationType operation, String id, Map<org.alfresco.service.namespace.QName,String> fields) throws org.alfresco.service.cmr.model.FileNotFoundException
ListServiceHandlerupdateListItem in interface ListServiceHandlerorg.alfresco.service.cmr.model.FileNotFoundExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.