Package com.adobe.fd.fp.common
Class PortalUtilsComponent
- java.lang.Object
-
- com.adobe.fd.fp.common.PortalUtilsComponent
-
@Service(PortalUtilsComponent.class) public class PortalUtilsComponent extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PortalUtilsComponent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDDSFilter()java.lang.StringgetDMSFilter()javax.jcr.NodegetMetadataNodeFromSubmitID(java.lang.String submitID, javax.jcr.Session session)java.lang.StringgetPDSFilter()java.lang.StringgetPMSFilter()java.lang.StringgetSDSFilter()java.lang.StringgetSMSFilter()booleanisLoginAnonymous()booleanisLoginAnonymous(java.lang.String userName)booleanisOwner(javax.jcr.Session currentSession, java.lang.String submitID)booleanisReviewer(javax.jcr.Session currentSession, java.lang.String formPath)static <T> T[]removeFromArray(T[] objArray, T key)removes the target element from the Array and returns the new array
-
-
-
Method Detail
-
getDDSFilter
public java.lang.String getDDSFilter()
-
getDMSFilter
public java.lang.String getDMSFilter()
-
getSDSFilter
public java.lang.String getSDSFilter()
-
getSMSFilter
public java.lang.String getSMSFilter()
-
getPDSFilter
public java.lang.String getPDSFilter()
-
getPMSFilter
public java.lang.String getPMSFilter()
-
isLoginAnonymous
public boolean isLoginAnonymous()
-
isReviewer
public boolean isReviewer(javax.jcr.Session currentSession, java.lang.String formPath) throws java.lang.Exception- Throws:
java.lang.Exception
-
isOwner
public boolean isOwner(javax.jcr.Session currentSession, java.lang.String submitID) throws FormsPortalException- Throws:
FormsPortalException
-
getMetadataNodeFromSubmitID
public javax.jcr.Node getMetadataNodeFromSubmitID(java.lang.String submitID, javax.jcr.Session session) throws FormsPortalException- Throws:
FormsPortalException
-
removeFromArray
public static <T> T[] removeFromArray(T[] objArray, T key)removes the target element from the Array and returns the new array- Parameters:
objArray-key-- Returns:
- generic array
-
isLoginAnonymous
public boolean isLoginAnonymous(java.lang.String userName)
-
-