Class ListsService
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.alfresco.officeservices.AbstractSoapService
org.alfresco.officeservices.lists.AbstractListsService
org.alfresco.module.aosmodule.dispatch.ListsService
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class ListsService
extends org.alfresco.officeservices.lists.AbstractListsService
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.alfresco.officeservices.lists.AbstractListsService
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_TYPEFields inherited from class org.alfresco.officeservices.AbstractSoapService
threadLocalDateFormatSoapFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckinFile(org.alfresco.officeservices.UserData userData, String documentName, String comment, org.alfresco.officeservices.lists.CheckinType checkinType) protected booleancheckoutFile(org.alfresco.officeservices.UserData userData, String documentName, boolean checkoutToLocal, String lastModified) protected StringgetAlternateServerURL(org.alfresco.officeservices.UserData userData, String listName, jakarta.servlet.http.HttpServletRequest request) protected org.alfresco.officeservices.lists.ListsGetListListgetList(org.alfresco.officeservices.UserData userData, String listName, jakarta.servlet.http.HttpServletRequest request) protected org.alfresco.officeservices.lists.ListChangesgetListChangesSinceToken(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, jakarta.servlet.http.HttpServletRequest request) List<org.alfresco.officeservices.lists.ListDescription>getListCollection(org.alfresco.officeservices.protocol.SimpleSoapParser parser) protected org.alfresco.officeservices.lists.ListsGetListContentTypeContentTypegetListContentType(org.alfresco.officeservices.UserData userData, String listName, String contentTypeId, jakarta.servlet.http.HttpServletRequest request) protected org.alfresco.officeservices.lists.ListsGetListContentTypesContentType[]getListContentTypes(org.alfresco.officeservices.UserData userData, String listName, String contentTypeId, jakarta.servlet.http.HttpServletRequest request) protected org.alfresco.officeservices.lists.ListChangesgetListItemChanges(org.alfresco.officeservices.UserData userData, String listName, String since, jakarta.servlet.http.HttpServletRequest request) protected org.alfresco.officeservices.lists.ListChangesgetListItems(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, jakarta.servlet.http.HttpServletRequest request) protected org.alfresco.officeservices.lists.ListTypegetListType(org.alfresco.officeservices.UserData userData, String listName) protected StringgetRootFolder(org.alfresco.officeservices.UserData userData, String listName) protected org.alfresco.officeservices.lists.ListsGetListAndViewViewgetView(org.alfresco.officeservices.UserData userData, String listName, String viewName, jakarta.servlet.http.HttpServletRequest request) voidinvalidateAuthentication(org.alfresco.officeservices.UserData userData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected booleanisValidListName(org.alfresco.officeservices.UserData userData, String listName) protected booleanisWSS3List(org.alfresco.officeservices.UserData userData, String listName) org.alfresco.officeservices.UserDatanegotiateAuthentication(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) voidrequestAuthentication(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected booleanundoCheckOut(org.alfresco.officeservices.UserData userData, String documentName) protected org.alfresco.officeservices.lists.UpdateListItemsResultsupdateListItems(org.alfresco.officeservices.UserData userData, String listName, org.alfresco.officeservices.lists.ListUpdatesBatch batch, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.alfresco.officeservices.lists.AbstractListsService
getSitePrefix, handleCheckInFile, handleCheckOutFile, handleGetList, handleGetListAndView, handleGetListCollection, handleGetListContentType, handleGetListContentTypes, handleGetListContentTypesAndProperties, handleGetListItemChanges, handleGetListItemChangesSinceToken, handleGetListItems, handleUndoCheckOut, handleUpdateListItems, soapService, writeFieldElement, writeListElementMethods inherited from class org.alfresco.officeservices.AbstractSoapService
doPost, formatDate, getThreadDateFormatSoap, parseDate, writeEncoded, writeEncoded2, writeXmlAttributeMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
userData
protected org.alfresco.officeservices.UserData userData
-
-
Constructor Details
-
ListsService
public ListsService()
-
-
Method Details
-
isWSS3List
- Specified by:
isWSS3Listin classorg.alfresco.officeservices.lists.AbstractListsService
-
getListType
protected org.alfresco.officeservices.lists.ListType getListType(org.alfresco.officeservices.UserData userData, String listName) - Specified by:
getListTypein classorg.alfresco.officeservices.lists.AbstractListsService
-
isValidListName
- Specified by:
isValidListNamein classorg.alfresco.officeservices.lists.AbstractListsService
-
getAlternateServerURL
protected String getAlternateServerURL(org.alfresco.officeservices.UserData userData, String listName, jakarta.servlet.http.HttpServletRequest request) - Specified by:
getAlternateServerURLin classorg.alfresco.officeservices.lists.AbstractListsService
-
getRootFolder
- Specified by:
getRootFolderin classorg.alfresco.officeservices.lists.AbstractListsService
-
getListItemChanges
protected org.alfresco.officeservices.lists.ListChanges getListItemChanges(org.alfresco.officeservices.UserData userData, String listName, String since, jakarta.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
getListItemChangesin classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
getListItems
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, jakarta.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
getListItemsin classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
updateListItems
protected org.alfresco.officeservices.lists.UpdateListItemsResults updateListItems(org.alfresco.officeservices.UserData userData, String listName, org.alfresco.officeservices.lists.ListUpdatesBatch batch, jakarta.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
updateListItemsin classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
getListChangesSinceToken
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, jakarta.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
getListChangesSinceTokenin classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
checkoutFile
protected boolean checkoutFile(org.alfresco.officeservices.UserData userData, String documentName, boolean checkoutToLocal, String lastModified) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
checkoutFilein classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
checkinFile
protected boolean checkinFile(org.alfresco.officeservices.UserData userData, String documentName, String comment, org.alfresco.officeservices.lists.CheckinType checkinType) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
checkinFilein classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
undoCheckOut
protected boolean undoCheckOut(org.alfresco.officeservices.UserData userData, String documentName) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
undoCheckOutin classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
getListContentType
protected org.alfresco.officeservices.lists.ListsGetListContentTypeContentType getListContentType(org.alfresco.officeservices.UserData userData, String listName, String contentTypeId, jakarta.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
getListContentTypein classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
getListContentTypes
protected org.alfresco.officeservices.lists.ListsGetListContentTypesContentType[] getListContentTypes(org.alfresco.officeservices.UserData userData, String listName, String contentTypeId, jakarta.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
getListContentTypesin classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
getListCollection
public List<org.alfresco.officeservices.lists.ListDescription> getListCollection(org.alfresco.officeservices.protocol.SimpleSoapParser parser) - Specified by:
getListCollectionin classorg.alfresco.officeservices.lists.AbstractListsService
-
getList
protected org.alfresco.officeservices.lists.ListsGetListList getList(org.alfresco.officeservices.UserData userData, String listName, jakarta.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
getListin classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
getView
protected org.alfresco.officeservices.lists.ListsGetListAndViewView getView(org.alfresco.officeservices.UserData userData, String listName, String viewName, jakarta.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException - Specified by:
getViewin classorg.alfresco.officeservices.lists.AbstractListsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
negotiateAuthentication
public org.alfresco.officeservices.UserData negotiateAuthentication(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Specified by:
negotiateAuthenticationin classorg.alfresco.officeservices.AbstractSoapService- Throws:
IOException
-
requestAuthentication
public void requestAuthentication(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Specified by:
requestAuthenticationin classorg.alfresco.officeservices.AbstractSoapService- Throws:
IOException
-
invalidateAuthentication
public void invalidateAuthentication(org.alfresco.officeservices.UserData userData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Specified by:
invalidateAuthenticationin classorg.alfresco.officeservices.AbstractSoapService- Throws:
IOException
-