***  This interface provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.security
Interface PermissionInterface

All Superinterfaces:
java.io.Serializable

public interface PermissionInterface
extends java.io.Serializable

Permission interface.

Since:
1.1

Field Summary
static java.lang.String PERMISSION_ADMINISTER
          The remaining definitions are application permissions, and their precise semantics are application defined.
static java.lang.String PERMISSION_ADMINMETADATA
          Deprecated. The metadata server no longer supports this permission and it should be removed from any application that is using it.
static java.lang.String PERMISSION_ALTER_TABLE
           
static java.lang.String PERMISSION_CHECKINMETADATA
           
static java.lang.String PERMISSION_CREATE
           
static java.lang.String PERMISSION_CREATE_TABLE
           
static java.lang.String PERMISSION_DELETE
           
static java.lang.String PERMISSION_DROP_TABLE
           
static java.lang.String PERMISSION_EXECUTE
           
static java.lang.String PERMISSION_INSERT
           
static java.lang.String PERMISSION_READ
           
static java.lang.String PERMISSION_READMETADATA
          Permission string representing read permission on metadata.
static java.lang.String PERMISSION_REFERENCES
           
static java.lang.String PERMISSION_SELECT
           
static java.lang.String PERMISSION_UPDATE
           
static java.lang.String PERMISSION_WRITE
           
static java.lang.String PERMISSION_WRITEMEMBERMETADATA
          This is a folder-specific permission that can be used to control who can create content in a folder.
static java.lang.String PERMISSION_WRITEMETADATA
          Permission string representing write permission on metadata.
static java.lang.String TYPE_DENY
          Deny a permission to an identity or identities.
static java.lang.String TYPE_GRANT
          Grant a permission to an identity or identities
static java.lang.String TYPE_REMOVE
          This is a special type used by the new ISecurityAdmin interface for removing authorization records from an object.
 
Method Summary
 java.lang.String getAction()
          Get the Action that this permission grants or denys.
 MetadataInterface getOwningObject()
          Get the object that this permission is directly owned by.
 java.lang.String getType()
          Get the type of permission.
 

Field Detail

TYPE_GRANT

static final java.lang.String TYPE_GRANT
Grant a permission to an identity or identities

See Also:
Constant Field Values

TYPE_DENY

static final java.lang.String TYPE_DENY
Deny a permission to an identity or identities.

See Also:
Constant Field Values

TYPE_REMOVE

static final java.lang.String TYPE_REMOVE
This is a special type used by the new ISecurityAdmin interface for removing authorization records from an object.

See Also:
Constant Field Values

PERMISSION_READMETADATA

static final java.lang.String PERMISSION_READMETADATA
Permission string representing read permission on metadata.

See Also:
Constant Field Values

PERMISSION_WRITEMETADATA

static final java.lang.String PERMISSION_WRITEMETADATA
Permission string representing write permission on metadata.

See Also:
Constant Field Values

PERMISSION_ADMINMETADATA

static final java.lang.String PERMISSION_ADMINMETADATA
Deprecated. The metadata server no longer supports this permission and it should be removed from any application that is using it.
Permission string representing admin permission on metadata.

See Also:
Constant Field Values

PERMISSION_WRITEMEMBERMETADATA

static final java.lang.String PERMISSION_WRITEMEMBERMETADATA
This is a folder-specific permission that can be used to control who can create content in a folder.

See Also:
Constant Field Values

PERMISSION_ADMINISTER

static final java.lang.String PERMISSION_ADMINISTER
The remaining definitions are application permissions, and their precise semantics are application defined.

See Also:
Constant Field Values

PERMISSION_ALTER_TABLE

static final java.lang.String PERMISSION_ALTER_TABLE
See Also:
Constant Field Values

PERMISSION_CHECKINMETADATA

static final java.lang.String PERMISSION_CHECKINMETADATA
See Also:
Constant Field Values

PERMISSION_CREATE

static final java.lang.String PERMISSION_CREATE
See Also:
Constant Field Values

PERMISSION_CREATE_TABLE

static final java.lang.String PERMISSION_CREATE_TABLE
See Also:
Constant Field Values

PERMISSION_DELETE

static final java.lang.String PERMISSION_DELETE
See Also:
Constant Field Values

PERMISSION_DROP_TABLE

static final java.lang.String PERMISSION_DROP_TABLE
See Also:
Constant Field Values

PERMISSION_EXECUTE

static final java.lang.String PERMISSION_EXECUTE
See Also:
Constant Field Values

PERMISSION_INSERT

static final java.lang.String PERMISSION_INSERT
See Also:
Constant Field Values

PERMISSION_READ

static final java.lang.String PERMISSION_READ
See Also:
Constant Field Values

PERMISSION_REFERENCES

static final java.lang.String PERMISSION_REFERENCES
See Also:
Constant Field Values

PERMISSION_SELECT

static final java.lang.String PERMISSION_SELECT
See Also:
Constant Field Values

PERMISSION_UPDATE

static final java.lang.String PERMISSION_UPDATE
See Also:
Constant Field Values

PERMISSION_WRITE

static final java.lang.String PERMISSION_WRITE
See Also:
Constant Field Values
Method Detail

getAction

java.lang.String getAction()
Get the Action that this permission grants or denys.

Returns:
The action string for this permission.

getType

java.lang.String getType()
Get the type of permission. This should be GRANT or DENY.

Returns:
the permission type.

getOwningObject

MetadataInterface getOwningObject()
Get the object that this permission is directly owned by. In OMR, this will be an AccessControlEntry.

Returns:
a MetadataInterface object that owns this permission.

***  This interface provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.