com.stratelia.webactiv.kmelia.control.ejb
Class KmeliaHelper

java.lang.Object
  extended by com.stratelia.webactiv.kmelia.control.ejb.KmeliaHelper
All Implemented Interfaces:
Serializable

public class KmeliaHelper
extends Object
implements Serializable

Author:
neysseri
See Also:
Serialized Form

Field Summary
static int PUBLICATION_CONTENT
           
static int PUBLICATION_HEADER
           
static String ROLE_ADMIN
           
static String ROLE_PUBLISHER
           
static String ROLE_READER
           
static String ROLE_WRITER
           
static String SPECIALFOLDER_TOVALIDATE
           
static int VALIDATION_CLASSIC
           
static int VALIDATION_COLLEGIATE
           
static int VALIDATION_TARGET_1
           
static int VALIDATION_TARGET_N
           
 
Constructor Summary
KmeliaHelper()
           
 
Method Summary
static void checkIndex(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail)
           
static String extractObjectIdFromURL(String url)
           
static String extractObjectTypeFromURL(String url)
           
static String getDocumentUrl(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail, org.silverpeas.attachment.model.SimpleDocument document)
           
static String getNodeUrl(com.stratelia.webactiv.util.node.model.NodeDetail nodeDetail)
           
static String getProfile(String[] profiles)
           
static String getPublicationUrl(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail, com.stratelia.webactiv.util.node.model.NodePK nodePK)
           
static boolean isIndexable(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail)
           
static boolean isKmax(String componentId)
           
static boolean isKmelia(String componentId)
           
static boolean isToolbox(String componentId)
           
static boolean isToValidateFolder(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

KmeliaHelper

public KmeliaHelper()
Method Detail

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.