public class PublicAPIDocumentFolderServiceImpl extends AbstractDocumentFolderServiceImpl
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<PublicAPIDocumentFolderServiceImpl> |
CREATOR |
cmisSession
CONTENT_CACHE, RENDITION_CACHE, session
FILTER_INCLUDE_LINKS, RENDITION_PREVIEW, RENDITION_THUMBNAIL, SORT_PROPERTY_CREATED_AT, SORT_PROPERTY_DESCRIPTION, SORT_PROPERTY_MODIFIED_AT, SORT_PROPERTY_NAME, SORT_PROPERTY_TITLE
Constructor and Description |
---|
PublicAPIDocumentFolderServiceImpl(AlfrescoSession cloudSession)
Default Constructor.
|
PublicAPIDocumentFolderServiceImpl(android.os.Parcel o) |
Modifier and Type | Method and Description |
---|---|
void |
addFavorite(Node node)
Marks the provided node as a favorite node.
|
protected PagingResult<Document> |
computeDocumentFavorites(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url) |
protected PagingResult<Node> |
computeFavorites(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url) |
protected PagingResult<Folder> |
computeFolderFavorites(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url) |
List<Document> |
getFavoriteDocuments()
Returns a list of the current users favorite documents.
|
PagingResult<Document> |
getFavoriteDocuments(ListingContext listingContext)
Returns a paged list of the current users favorite documents.
|
List<Folder> |
getFavoriteFolders()
Returns a list of the current users favorite folders.
|
PagingResult<Folder> |
getFavoriteFolders(ListingContext listingContext)
Returns a paged list of the current users favorite folders.
|
List<Node> |
getFavoriteNodes()
Returns a list of the current users favorite nodes.
|
PagingResult<Node> |
getFavoriteNodes(ListingContext listingContext)
Returns a paged list of the current users favorite nodes.
|
ContentStream |
getRenditionStream(String identifier,
String type) |
org.apache.chemistry.opencmis.commons.impl.UrlBuilder |
getRenditionUrl(String identifier,
String type) |
boolean |
isFavorite(Node node)
Determines whether the given node has been marked as a favorite by the
current user.
|
void |
removeFavorite(Node node)
Removes the provided node from the current users favorites.
|
addAspects, createDocument, createDocument, createDocument, createFolder, createFolder, createFolder, deleteNode, downloadContentStream, getChildByPath, getChildByPath, getChildren, getChildren, getContent, getContentStream, getDocuments, getDocuments, getDownloadUrl, getFolders, getFolders, getNodeByIdentifier, getParentFolder, getPermissions, getRendition, getRenditionStream, getRootFolder, refreshNode, updateContent, updateProperties, updateProperties, updateProperties
clear, convertException, convertNode, convertNode, convertStatusCode, delete, describeContents, getHttpInvoker, getSessionHttp, isCloudSession, isListNull, isMapNull, isObjectNull, isOnPremiseSession, isStringNull, post, put, read, saveContentStream, writeToParcel
public static final android.os.Parcelable.Creator<PublicAPIDocumentFolderServiceImpl> CREATOR
public PublicAPIDocumentFolderServiceImpl(AlfrescoSession cloudSession)
repositorySession
- : Repository Session.public PublicAPIDocumentFolderServiceImpl(android.os.Parcel o)
public org.apache.chemistry.opencmis.commons.impl.UrlBuilder getRenditionUrl(String identifier, String type)
getRenditionUrl
in class AbstractDocumentFolderServiceImpl
public ContentStream getRenditionStream(String identifier, String type)
AbstractDocumentFolderServiceImpl
getRenditionStream
in class AbstractDocumentFolderServiceImpl
public List<Document> getFavoriteDocuments()
DocumentFolderService
public PagingResult<Document> getFavoriteDocuments(ListingContext listingContext)
DocumentFolderService
public List<Folder> getFavoriteFolders()
DocumentFolderService
public PagingResult<Folder> getFavoriteFolders(ListingContext listingContext)
DocumentFolderService
public List<Node> getFavoriteNodes()
DocumentFolderService
public PagingResult<Node> getFavoriteNodes(ListingContext listingContext)
DocumentFolderService
public boolean isFavorite(Node node)
DocumentFolderService
public void addFavorite(Node node)
DocumentFolderService
public void removeFavorite(Node node)
DocumentFolderService
protected PagingResult<Document> computeDocumentFavorites(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url)
protected PagingResult<Folder> computeFolderFavorites(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url)
protected PagingResult<Node> computeFavorites(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url)
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.