public interface QuickShareLinks
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_INCLUDE_ALLOWABLEOPERATIONS |
static String |
PARAM_INCLUDE_PATH |
static String |
PARAM_SHAREDBY
API Constants - query parameters, etc
|
Modifier and Type | Method and Description |
---|---|
List<QuickShareLink> |
create(List<QuickShareLink> nodeIds,
Parameters parameters)
Create quick share.
|
void |
delete(String sharedId,
Parameters parameters)
Delete the shared link.
|
void |
emailSharedLink(String sharedId,
QuickShareLinkEmailRequest emailRequest,
Parameters parameters)
Notifies users by email that a content has been shared with them.
|
CollectionWithPagingInfo<QuickShareLink> |
findLinks(Parameters parameters)
Find (search) for shared links visible to current user.
|
Rendition |
getRendition(String shareId,
String renditionId)
Gets information about a rendition of a shared link.
|
CollectionWithPagingInfo<Rendition> |
getRenditions(String sharedId)
List renditions info - note: only returns available (=> created) renditions.
|
QuickShareLink |
readById(String sharedId,
Parameters parameters)
Returns limited metadata regarding the shared (content) link.
|
BinaryResource |
readProperty(String sharedId,
String renditionId,
Parameters parameters)
Download file content (or rendition content) via shared link.
|
static final String PARAM_SHAREDBY
static final String PARAM_INCLUDE_ALLOWABLEOPERATIONS
static final String PARAM_INCLUDE_PATH
QuickShareLink readById(String sharedId, Parameters parameters)
BinaryResource readProperty(String sharedId, String renditionId, Parameters parameters) throws EntityNotFoundException
sharedId
- renditionId
- - optionalparameters
- Parameters
EntityNotFoundException
Rendition getRendition(String shareId, String renditionId)
shareId
- renditionId
- Rendition
objectCollectionWithPagingInfo<Rendition> getRenditions(String sharedId)
sharedId
- void delete(String sharedId, Parameters parameters)
sharedId
- String id of the quick shareList<QuickShareLink> create(List<QuickShareLink> nodeIds, Parameters parameters)
nodeIds
- parameters
- void emailSharedLink(String sharedId, QuickShareLinkEmailRequest emailRequest, Parameters parameters)
sharedId
- The string id of the quick shareemailRequest
- The email details including its template detailsparameters
- The Parameters
object to get the parameters passed into the requestCollectionWithPagingInfo<QuickShareLink> findLinks(Parameters parameters)
parameters
- Copyright © 2005–2017 Alfresco Software. All rights reserved.