public class ListsService
extends org.alfresco.officeservices.lists.AbstractListsService
| Modifier and Type | Class and Description |
|---|---|
protected class |
ListsService.ListsServiceUserData |
| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.officeservices.UserData |
userData |
METHODNAME_CHECKINFILE, METHODNAME_CHECKOUTFILE, METHODNAME_GETATTACHMENTCOLLECTION, METHODNAME_GETLIST, METHODNAME_GETLISTANDVIEW, METHODNAME_GETLISTCOLLECTION, METHODNAME_GETLISTCONTENTTYPE, METHODNAME_GETLISTCONTENTTYPES, METHODNAME_GETLISTCONTENTTYPESANDPROPERTIES, METHODNAME_GETLISTITEMCHANGES, METHODNAME_GETLISTITEMCHANGESSINCETOKEN, METHODNAME_GETLISTITEMS, METHODNAME_UNDOCHECKOUT, METHODNAME_UPDATELISTITEMS, METHODPARAMETER_BATCH, METHODPARAMETER_CHANGETOKEN, METHODPARAMETER_CHECKINTYPE, METHODPARAMETER_CHECKOUTTOLOCAL, METHODPARAMETER_COMMENT, METHODPARAMETER_CONTAINS, METHODPARAMETER_CONTENTTYPEID, METHODPARAMETER_INCLUDEWEBPROPERTIES, METHODPARAMETER_LASTMODIFIED, METHODPARAMETER_LISTNAME, METHODPARAMETER_PAGEURL, METHODPARAMETER_PROPERTYPREFIX, METHODPARAMETER_QUERY, METHODPARAMETER_QUERYOPTIONS, METHODPARAMETER_ROWLIMIT, METHODPARAMETER_SINCE, METHODPARAMETER_UPDATES, METHODPARAMETER_VIEWFIELDS, METHODPARAMETER_VIEWNAME, RESPONSE_CONTENT_TYPE| Constructor and Description |
|---|
ListsService() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkinFile(org.alfresco.officeservices.UserData userData,
String documentName,
String comment,
org.alfresco.officeservices.lists.CheckinType checkinType) |
protected boolean |
checkoutFile(org.alfresco.officeservices.UserData userData,
String documentName,
boolean checkoutToLocal,
String lastModified) |
protected String |
getAlternateServerURL(org.alfresco.officeservices.UserData userData,
String listName,
javax.servlet.http.HttpServletRequest request) |
protected org.alfresco.officeservices.lists.ListsGetListList |
getList(org.alfresco.officeservices.UserData userData,
String listName,
javax.servlet.http.HttpServletRequest request) |
protected org.alfresco.officeservices.lists.ListChanges |
getListChangesSinceToken(org.alfresco.officeservices.UserData userData,
String listName,
org.alfresco.officeservices.protocol.SoapParameter viewFields,
String rowLimit,
org.alfresco.officeservices.protocol.SoapParameter queryOptions,
String changeToken,
org.alfresco.officeservices.protocol.SoapParameter contains,
javax.servlet.http.HttpServletRequest request) |
List<org.alfresco.officeservices.lists.ListDescription> |
getListCollection(org.alfresco.officeservices.protocol.SimpleSoapParser parser) |
protected org.alfresco.officeservices.lists.ListsGetListContentTypeContentType |
getListContentType(org.alfresco.officeservices.UserData userData,
String listName,
String contentTypeId,
javax.servlet.http.HttpServletRequest request) |
protected org.alfresco.officeservices.lists.ListsGetListContentTypesContentType[] |
getListContentTypes(org.alfresco.officeservices.UserData userData,
String listName,
String contentTypeId,
javax.servlet.http.HttpServletRequest request) |
protected org.alfresco.officeservices.lists.ListChanges |
getListItemChanges(org.alfresco.officeservices.UserData userData,
String listName,
String since,
javax.servlet.http.HttpServletRequest request) |
protected org.alfresco.officeservices.lists.ListChanges |
getListItems(org.alfresco.officeservices.UserData userData,
String listName,
org.alfresco.officeservices.protocol.SoapParameter query,
org.alfresco.officeservices.protocol.SoapParameter queryOptions,
org.alfresco.officeservices.protocol.SoapParameter viewFields,
javax.servlet.http.HttpServletRequest request) |
protected org.alfresco.officeservices.lists.ListType |
getListType(org.alfresco.officeservices.UserData userData,
String listName) |
protected String |
getRootFolder(org.alfresco.officeservices.UserData userData,
String listName) |
protected org.alfresco.officeservices.lists.ListsGetListAndViewView |
getView(org.alfresco.officeservices.UserData userData,
String listName,
String viewName,
javax.servlet.http.HttpServletRequest request) |
void |
invalidateAuthentication(org.alfresco.officeservices.UserData userData,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected boolean |
isValidListName(org.alfresco.officeservices.UserData userData,
String listName) |
protected boolean |
isWSS3List(org.alfresco.officeservices.UserData userData,
String listName) |
org.alfresco.officeservices.UserData |
negotiateAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
requestAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected boolean |
undoCheckOut(org.alfresco.officeservices.UserData userData,
String documentName) |
protected org.alfresco.officeservices.lists.UpdateListItemsResults |
updateListItems(org.alfresco.officeservices.UserData userData,
String listName,
org.alfresco.officeservices.lists.ListUpdatesBatch batch,
javax.servlet.http.HttpServletRequest request) |
getSitePrefix, handleCheckInFile, handleCheckOutFile, handleGetList, handleGetListAndView, handleGetListCollection, handleGetListContentType, handleGetListContentTypes, handleGetListContentTypesAndProperties, handleGetListItemChanges, handleGetListItemChangesSinceToken, handleGetListItems, handleUndoCheckOut, handleUpdateListItems, soapService, writeFieldElement, writeListElementdoPost, formatDate, getThreadDateFormatSoap, parseDate, writeEncoded, writeEncoded2, writeXmlAttributedoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected boolean isWSS3List(org.alfresco.officeservices.UserData userData,
String listName)
isWSS3List in class org.alfresco.officeservices.lists.AbstractListsServiceprotected org.alfresco.officeservices.lists.ListType getListType(org.alfresco.officeservices.UserData userData,
String listName)
getListType in class org.alfresco.officeservices.lists.AbstractListsServiceprotected boolean isValidListName(org.alfresco.officeservices.UserData userData,
String listName)
isValidListName in class org.alfresco.officeservices.lists.AbstractListsServiceprotected String getAlternateServerURL(org.alfresco.officeservices.UserData userData, String listName, javax.servlet.http.HttpServletRequest request)
getAlternateServerURL in class org.alfresco.officeservices.lists.AbstractListsServiceprotected String getRootFolder(org.alfresco.officeservices.UserData userData, String listName)
getRootFolder in class org.alfresco.officeservices.lists.AbstractListsServiceprotected org.alfresco.officeservices.lists.ListChanges getListItemChanges(org.alfresco.officeservices.UserData userData,
String listName,
String since,
javax.servlet.http.HttpServletRequest request)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
getListItemChanges in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionprotected org.alfresco.officeservices.lists.ListChanges getListItems(org.alfresco.officeservices.UserData userData,
String listName,
org.alfresco.officeservices.protocol.SoapParameter query,
org.alfresco.officeservices.protocol.SoapParameter queryOptions,
org.alfresco.officeservices.protocol.SoapParameter viewFields,
javax.servlet.http.HttpServletRequest request)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
getListItems in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionprotected org.alfresco.officeservices.lists.UpdateListItemsResults updateListItems(org.alfresco.officeservices.UserData userData,
String listName,
org.alfresco.officeservices.lists.ListUpdatesBatch batch,
javax.servlet.http.HttpServletRequest request)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
updateListItems in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionprotected org.alfresco.officeservices.lists.ListChanges getListChangesSinceToken(org.alfresco.officeservices.UserData userData,
String listName,
org.alfresco.officeservices.protocol.SoapParameter viewFields,
String rowLimit,
org.alfresco.officeservices.protocol.SoapParameter queryOptions,
String changeToken,
org.alfresco.officeservices.protocol.SoapParameter contains,
javax.servlet.http.HttpServletRequest request)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
getListChangesSinceToken in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionprotected boolean checkoutFile(org.alfresco.officeservices.UserData userData,
String documentName,
boolean checkoutToLocal,
String lastModified)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
checkoutFile in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionprotected boolean checkinFile(org.alfresco.officeservices.UserData userData,
String documentName,
String comment,
org.alfresco.officeservices.lists.CheckinType checkinType)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
checkinFile in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionprotected boolean undoCheckOut(org.alfresco.officeservices.UserData userData,
String documentName)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
undoCheckOut in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionprotected org.alfresco.officeservices.lists.ListsGetListContentTypeContentType getListContentType(org.alfresco.officeservices.UserData userData,
String listName,
String contentTypeId,
javax.servlet.http.HttpServletRequest request)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
getListContentType in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionprotected org.alfresco.officeservices.lists.ListsGetListContentTypesContentType[] getListContentTypes(org.alfresco.officeservices.UserData userData,
String listName,
String contentTypeId,
javax.servlet.http.HttpServletRequest request)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
getListContentTypes in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionpublic List<org.alfresco.officeservices.lists.ListDescription> getListCollection(org.alfresco.officeservices.protocol.SimpleSoapParser parser)
getListCollection in class org.alfresco.officeservices.lists.AbstractListsServiceprotected org.alfresco.officeservices.lists.ListsGetListList getList(org.alfresco.officeservices.UserData userData,
String listName,
javax.servlet.http.HttpServletRequest request)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
getList in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionprotected org.alfresco.officeservices.lists.ListsGetListAndViewView getView(org.alfresco.officeservices.UserData userData,
String listName,
String viewName,
javax.servlet.http.HttpServletRequest request)
throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
getView in class org.alfresco.officeservices.lists.AbstractListsServiceorg.alfresco.officeservices.exceptions.AuthenticationRequiredExceptionpublic org.alfresco.officeservices.UserData negotiateAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
negotiateAuthentication in class org.alfresco.officeservices.AbstractSoapServiceIOExceptionpublic void requestAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
requestAuthentication in class org.alfresco.officeservices.AbstractSoapServiceIOExceptionpublic void invalidateAuthentication(org.alfresco.officeservices.UserData userData,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
invalidateAuthentication in class org.alfresco.officeservices.AbstractSoapServiceIOExceptionCopyright © 2015–2018 Alfresco Software. All rights reserved.