com.stratelia.webactiv.kmelia
Class KmeliaSecurity
java.lang.Object
  
com.stratelia.webactiv.kmelia.KmeliaSecurity
- All Implemented Interfaces: 
 - com.silverpeas.util.security.ComponentSecurity
 
public class KmeliaSecurity
- extends Object
- implements com.silverpeas.util.security.ComponentSecurity
  
Kmelia security provides a way to check the rights of a user to access the content of a Kmelia
 instance (publications, ...).
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PUBLICATION_TYPE
public static final String PUBLICATION_TYPE
- See Also:
 - Constant Field Values
 
NODE_TYPE
public static final String NODE_TYPE
- See Also:
 - Constant Field Values
 
RIGHTS_ON_TOPIC_PARAM
public static final String RIGHTS_ON_TOPIC_PARAM
- See Also:
 - Constant Field Values
 
KmeliaSecurity
public KmeliaSecurity()
KmeliaSecurity
public KmeliaSecurity(org.silverpeas.core.admin.OrganisationController controller)
enableCache
public void enableCache()
- Specified by:
 enableCache in interface com.silverpeas.util.security.ComponentSecurity
 
 
disableCache
public void disableCache()
- Specified by:
 disableCache in interface com.silverpeas.util.security.ComponentSecurity
 
 
isAccessAuthorized
public boolean isAccessAuthorized(String componentId,
                                  String userId,
                                  String objectId)
- Specified by:
 isAccessAuthorized in interface com.silverpeas.util.security.ComponentSecurity
 
 
isAccessAuthorized
public boolean isAccessAuthorized(String componentId,
                                  String userId,
                                  String objectId,
                                  String objectType)
- Specified by:
 isAccessAuthorized in interface com.silverpeas.util.security.ComponentSecurity
 
 
isObjectAvailable
public boolean isObjectAvailable(String componentId,
                                 String userId,
                                 String objectId,
                                 String objectType)
- Specified by:
 isObjectAvailable in interface com.silverpeas.util.security.ComponentSecurity
 
 
isKmeliaObjectType
protected boolean isKmeliaObjectType(String objectType)
 
 
isRightsOnTopicsEnabled
protected boolean isRightsOnTopicsEnabled(String componentId)
 
 
isDraftVisibleWithCoWriting
protected boolean isDraftVisibleWithCoWriting()
 
 
isCoWritingEnable
protected boolean isCoWritingEnable(String componentId)
 
 
isPublicationAvailable
protected boolean isPublicationAvailable(com.stratelia.webactiv.util.publication.model.PublicationPK pk,
                                         String userId)
 
 
getNodeBm
public com.stratelia.webactiv.util.node.control.NodeBm getNodeBm()
 
 
getKmeliaBm
public KmeliaBm getKmeliaBm()
 
 
isCacheEnabled
public boolean isCacheEnabled()
 
 
Copyright © 2016 Silverpeas. All Rights Reserved.