Class SpaceDocumentsExposureServiceImpl
java.lang.Object
org.exoplatform.documents.service.SpaceDocumentsExposureServiceImpl
- All Implemented Interfaces:
org.exoplatform.documents.service.SpaceDocumentsExposureService
@Service
public class SpaceDocumentsExposureServiceImpl
extends Object
implements org.exoplatform.documents.service.SpaceDocumentsExposureService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.documents.model.SpaceDocumentsExposuregetExposure(long spaceId, String username) org.exoplatform.documents.model.ExposedDocumentPagegetPublicLinkDocuments(long spaceId, int offset, int limit, String username) voidremovePublicLinks(org.exoplatform.social.core.space.model.Space space, boolean documentsKeptInside, String username)
-
Field Details
-
LINKS_PAGE_SIZE
public static final int LINKS_PAGE_SIZEThe count of public links the walk reads at a time- See Also:
-
NOT_ALLOWED_MESSAGE
- See Also:
-
INVALID_PAGE_MESSAGE
- See Also:
-
-
Constructor Details
-
SpaceDocumentsExposureServiceImpl
public SpaceDocumentsExposureServiceImpl()
-
-
Method Details
-
getExposure
public org.exoplatform.documents.model.SpaceDocumentsExposure getExposure(long spaceId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Specified by:
getExposurein interfaceorg.exoplatform.documents.service.SpaceDocumentsExposureService- Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
getPublicLinkDocuments
public org.exoplatform.documents.model.ExposedDocumentPage getPublicLinkDocuments(long spaceId, int offset, int limit, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Specified by:
getPublicLinkDocumentsin interfaceorg.exoplatform.documents.service.SpaceDocumentsExposureService- Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
removePublicLinks
public void removePublicLinks(org.exoplatform.social.core.space.model.Space space, boolean documentsKeptInside, String username) - Specified by:
removePublicLinksin interfaceorg.exoplatform.documents.service.SpaceDocumentsExposureService
-