Class DefaultInstancePublicationAccessControlExtension
- java.lang.Object
-
- org.silverpeas.core.security.authorization.DefaultInstancePublicationAccessControlExtension
-
- All Implemented Interfaces:
ComponentInstancePublicationAccessControlExtension
@Base @Singleton public class DefaultInstancePublicationAccessControlExtension extends Object implements ComponentInstancePublicationAccessControlExtension
- Author:
- silveryocha
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.silverpeas.core.security.authorization.ComponentInstancePublicationAccessControlExtension
ComponentInstancePublicationAccessControlExtension.Constants
-
-
Constructor Summary
Constructors Constructor Description DefaultInstancePublicationAccessControlExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canPublicationBePersistedOrDeletedBy(PublicationDetail publication, String instanceId, String userId, SilverpeasRole userRole, AccessControlContext context)
protected boolean
isDraftVisibleWithCoWriting()
-
-
-
Method Detail
-
canPublicationBePersistedOrDeletedBy
public boolean canPublicationBePersistedOrDeletedBy(PublicationDetail publication, String instanceId, String userId, SilverpeasRole userRole, AccessControlContext context)
- Specified by:
canPublicationBePersistedOrDeletedBy
in interfaceComponentInstancePublicationAccessControlExtension
-
isDraftVisibleWithCoWriting
protected boolean isDraftVisibleWithCoWriting()
-
-