Class DocumentSharingRefusedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.ReflectiveOperationException
java.lang.IllegalAccessException
io.meeds.social.space.security.exception.SpaceSecurityRefusedException
org.exoplatform.documents.exception.DocumentSharingRefusedException
- All Implemented Interfaces:
Serializable
public class DocumentSharingRefusedException
extends io.meeds.social.space.security.exception.SpaceSecurityRefusedException
A change to a document's access the document's space refuses. Its message is
the code naming the rule; it carries the space and the document so that the
entry point which received the request logs the refusal with its channel.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe space limits who manages its documents' access.static final StringA change of the document's access list, a share included.static final StringThe creation or the update of the document's public link.static final StringThe space keeps its documents inside: no public link is created.static final StringThe space keeps its documents inside: a share outside it is refused.static final StringChannel of the documents MCP tools.static final StringChannel of the documents REST endpoints.static final StringThe revocation of the document's public link. -
Constructor Summary
ConstructorsConstructorDescriptionDocumentSharingRefusedException(String messageCode, long spaceId, String documentId, String action) -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs the refusal in the space security audit.longMethods inherited from class io.meeds.social.space.security.exception.SpaceSecurityRefusedException
getMessageCodeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ACCESS_MANAGEMENT_LIMITED
The space limits who manages its documents' access.- See Also:
-
KEPT_INSIDE_SHARE
The space keeps its documents inside: a share outside it is refused.- See Also:
-
KEPT_INSIDE_PUBLIC_LINK
The space keeps its documents inside: no public link is created.- See Also:
-
CHANGE_PERMISSIONS_ACTION
A change of the document's access list, a share included.- See Also:
-
CREATE_PUBLIC_LINK_ACTION
The creation or the update of the document's public link.- See Also:
-
REVOKE_PUBLIC_LINK_ACTION
The revocation of the document's public link.- See Also:
-
REST_CHANNEL
-
MCP_CHANNEL
-
-
Constructor Details
-
DocumentSharingRefusedException
-
-
Method Details
-
getSpaceId
public long getSpaceId() -
getDocumentId
-
getAction
-
audit
-