public interface QuickShareService
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getMetaData(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get QuickShare related metadata for the given node.
|
java.util.Map |
getMetaData(java.lang.String shareId)
Get QuickShare related metadata for the given shareId.
|
org.alfresco.util.Pair |
getTenantNodeRefFromSharedId(java.lang.String sharedId)
Get the tenant domain and node reference for the the given share id.
|
QuickShareDTO |
shareContent(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Share content identified by nodeRef.
|
void |
unshareContent(java.lang.String sharedId)
Unshare the content identified by sharedId
|
QuickShareDTO shareContent(org.alfresco.service.cmr.repository.NodeRef nodeRef) throws QuickShareDisabledException, org.alfresco.service.cmr.repository.InvalidNodeRefException
nodeRef - The NodeRef of the content to shareQuickShareDisabledExceptionorg.alfresco.service.cmr.repository.InvalidNodeRefExceptionjava.util.Map getMetaData(org.alfresco.service.cmr.repository.NodeRef nodeRef)
throws QuickShareDisabledException,
org.alfresco.service.cmr.repository.InvalidNodeRefException
nodeRef - QuickShareDisabledExceptionorg.alfresco.service.cmr.repository.InvalidNodeRefExceptionjava.util.Map getMetaData(java.lang.String shareId)
throws QuickShareDisabledException,
InvalidSharedIdException
shareId - QuickShareDisabledExceptionInvalidSharedIdExceptionorg.alfresco.util.Pair getTenantNodeRefFromSharedId(java.lang.String sharedId)
throws QuickShareDisabledException,
InvalidSharedIdException
sharedId - QuickShareDisabledExceptionInvalidSharedIdExceptionvoid unshareContent(java.lang.String sharedId)
throws QuickShareDisabledException,
InvalidSharedIdException
sharedId - The shared id of the content to unshare.QuickShareDisabledExceptionInvalidSharedIdExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.