oracle.apps.fnd.applcore.attachments.security
Class Authorization
java.lang.Object
oracle.apps.fnd.applcore.attachments.security.Authorization
public class Authorization
- extends java.lang.Object
Method Summary |
static boolean |
docAccessAllowed(java.lang.String documentId,
java.lang.String permission)
docAccessAllowed - will attempt to identify whether the current user
has the required permissions to access a document in UCM. |
static boolean |
entityAccessAllowed(java.lang.String fndObjectName,
java.lang.String pk1Value,
java.lang.String pk2Value,
java.lang.String pk3Value,
java.lang.String pk4Value,
java.lang.String pk5Value,
java.lang.String permission)
Returns true if the current user has been granted this permission on the
object with the specified primary key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
READ_PERMISSION
public static final java.lang.String READ_PERMISSION
- See Also:
- Constant Field Values
UPDATE_PERMISSION
public static final java.lang.String UPDATE_PERMISSION
- See Also:
- Constant Field Values
DELETE_PERMISSION
public static final java.lang.String DELETE_PERMISSION
- See Also:
- Constant Field Values
Authorization
public Authorization()
docAccessAllowed
public static boolean docAccessAllowed(java.lang.String documentId,
java.lang.String permission)
- docAccessAllowed - will attempt to identify whether the current user
has the required permissions to access a document in UCM. Query is
based on whether the user has been granted equivalent or greater
access to one of the Entity instances the doc has been attached too.
- Parameters:
documentId
- - UCM Document IDpermission
- - pemission requested (read, update or delete)
- Returns:
entityAccessAllowed
public static boolean entityAccessAllowed(java.lang.String fndObjectName,
java.lang.String pk1Value,
java.lang.String pk2Value,
java.lang.String pk3Value,
java.lang.String pk4Value,
java.lang.String pk5Value,
java.lang.String permission)
- Returns true if the current user has been granted this permission on the
object with the specified primary key.
- Parameters:
fndObjectName
- the object id defined in the FND_OBJECTS tablepk1Value
- first primary key value for the row as defined in the
FND_DOCUMENT_ENTITIES table. This must exist.pk2Value
- second primary key value for the row as defined in the
FND_DOCUMENT_ENTITIES table. This may be empty.pk3Value
- third primary key value for the row as defined in the
FND_DOCUMENT_ENTITIES table. This may be empty.pk4Value
- fourth primary key value for the row as defined in the
FND_DOCUMENT_ENTITIES table. This may be empty.pk5Value
- fifth primary key value for the row as defined in the
FND_DOCUMENT_ENTITES table. This may be empty.permission
- - pemission requested (read, update or delete)
- Returns:
Copyright © 2011 Oracle. All Rights Reserved.