com.stratelia.webactiv.kmelia.control.ejb
Class KmeliaHelper
java.lang.Object
com.stratelia.webactiv.kmelia.control.ejb.KmeliaHelper
- All Implemented Interfaces:
- Serializable
public class KmeliaHelper
- extends Object
- implements Serializable
- Author:
- neysseri
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PUBLICATION_HEADER
public static final int PUBLICATION_HEADER
- See Also:
- Constant Field Values
PUBLICATION_CONTENT
public static final int PUBLICATION_CONTENT
- See Also:
- Constant Field Values
VALIDATION_CLASSIC
public static final int VALIDATION_CLASSIC
- See Also:
- Constant Field Values
VALIDATION_TARGET_1
public static final int VALIDATION_TARGET_1
- See Also:
- Constant Field Values
VALIDATION_TARGET_N
public static final int VALIDATION_TARGET_N
- See Also:
- Constant Field Values
VALIDATION_COLLEGIATE
public static final int VALIDATION_COLLEGIATE
- See Also:
- Constant Field Values
ROLE_ADMIN
public static final String ROLE_ADMIN
- See Also:
- Constant Field Values
ROLE_PUBLISHER
public static final String ROLE_PUBLISHER
- See Also:
- Constant Field Values
ROLE_WRITER
public static final String ROLE_WRITER
- See Also:
- Constant Field Values
ROLE_READER
public static final String ROLE_READER
- See Also:
- Constant Field Values
SPECIALFOLDER_TOVALIDATE
public static final String SPECIALFOLDER_TOVALIDATE
- See Also:
- Constant Field Values
KmeliaHelper
public KmeliaHelper()
getProfile
public static String getProfile(String[] profiles)
checkIndex
public static void checkIndex(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail)
isIndexable
public static boolean isIndexable(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail)
extractObjectIdFromURL
public static String extractObjectIdFromURL(String url)
extractObjectTypeFromURL
public static String extractObjectTypeFromURL(String url)
getPublicationUrl
public static String getPublicationUrl(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail,
com.stratelia.webactiv.util.node.model.NodePK nodePK)
getNodeUrl
public static String getNodeUrl(com.stratelia.webactiv.util.node.model.NodeDetail nodeDetail)
getDocumentUrl
public static String getDocumentUrl(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail,
org.silverpeas.attachment.model.SimpleDocument document)
isToolbox
public static boolean isToolbox(String componentId)
isKmax
public static boolean isKmax(String componentId)
isKmelia
public static boolean isKmelia(String componentId)
isToValidateFolder
public static boolean isToValidateFolder(String id)
Copyright © 2016 Silverpeas. All Rights Reserved.