Class ListsService
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.alfresco.officeservices.AbstractSoapService
-
- org.alfresco.officeservices.lists.AbstractListsService
-
- org.alfresco.module.aosmodule.dispatch.ListsService
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class ListsService extends org.alfresco.officeservices.lists.AbstractListsService- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classListsService.ListsServiceUserData
-
Field Summary
Fields Modifier and Type Field Description protected org.alfresco.officeservices.UserDatauserData-
Fields 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_TYPE
-
-
Constructor Summary
Constructors Constructor Description ListsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, javax.servlet.http.HttpServletRequest request)protected org.alfresco.officeservices.lists.ListsGetListListgetList(org.alfresco.officeservices.UserData userData, String listName, javax.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, javax.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, 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.ListChangesgetListItemChanges(org.alfresco.officeservices.UserData userData, String listName, String since, javax.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, javax.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, javax.servlet.http.HttpServletRequest request)voidinvalidateAuthentication(org.alfresco.officeservices.UserData userData, javax.servlet.http.HttpServletRequest request, javax.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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)voidrequestAuthentication(javax.servlet.http.HttpServletRequest request, javax.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, javax.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, writeListElement
-
Methods inherited from class org.alfresco.officeservices.AbstractSoapService
doPost, formatDate, getThreadDateFormatSoap, parseDate, writeEncoded, writeEncoded2, writeXmlAttribute
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
isWSS3List
protected boolean isWSS3List(org.alfresco.officeservices.UserData userData, String listName)- 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
protected boolean isValidListName(org.alfresco.officeservices.UserData userData, String listName)- Specified by:
isValidListNamein classorg.alfresco.officeservices.lists.AbstractListsService
-
getAlternateServerURL
protected String getAlternateServerURL(org.alfresco.officeservices.UserData userData, String listName, javax.servlet.http.HttpServletRequest request)
- Specified by:
getAlternateServerURLin classorg.alfresco.officeservices.lists.AbstractListsService
-
getRootFolder
protected String getRootFolder(org.alfresco.officeservices.UserData userData, String listName)
- 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, javax.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, javax.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, javax.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, javax.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, javax.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, javax.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, javax.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, javax.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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException- Specified by:
negotiateAuthenticationin classorg.alfresco.officeservices.AbstractSoapService- Throws:
IOException
-
requestAuthentication
public void requestAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException- Specified by:
requestAuthenticationin classorg.alfresco.officeservices.AbstractSoapService- Throws:
IOException
-
invalidateAuthentication
public void invalidateAuthentication(org.alfresco.officeservices.UserData userData, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException- Specified by:
invalidateAuthenticationin classorg.alfresco.officeservices.AbstractSoapService- Throws:
IOException
-
-