@Service(value=PortalUtilsComponent.class) public class PortalUtilsComponent extends java.lang.Object
Constructor and Description |
---|
PortalUtilsComponent() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDDSFilter() |
java.lang.String |
getDMSFilter() |
Node |
getMetadataNodeFromSubmitID(java.lang.String submitID,
Session session) |
java.lang.String |
getPDSFilter() |
java.lang.String |
getPMSFilter() |
java.lang.String |
getSDSFilter() |
java.lang.String |
getSMSFilter() |
boolean |
isLoginAnonymous() |
boolean |
isLoginAnonymous(java.lang.String userName) |
boolean |
isOwner(Session currentSession,
java.lang.String submitID) |
boolean |
isReviewer(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
|
public java.lang.String getDDSFilter()
public java.lang.String getDMSFilter()
public java.lang.String getSDSFilter()
public java.lang.String getSMSFilter()
public java.lang.String getPDSFilter()
public java.lang.String getPMSFilter()
public boolean isLoginAnonymous()
public boolean isReviewer(Session currentSession, java.lang.String formPath) throws java.lang.Exception
java.lang.Exception
public boolean isOwner(Session currentSession, java.lang.String submitID) throws FormsPortalException
FormsPortalException
public Node getMetadataNodeFromSubmitID(java.lang.String submitID, Session session) throws FormsPortalException
FormsPortalException
public static <T> T[] removeFromArray(T[] objArray, T key)
objArray
- key
- public boolean isLoginAnonymous(java.lang.String userName)
Copyright © 2010 - 2020 Adobe. All Rights Reserved