Skip navigation links

Oracle® Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-01


oracle.imaging
Class BaseSecurity

java.lang.Object
  extended by oracle.imaging.BaseSecurity

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BaseSecurity>
Direct Known Subclasses:
Application.DocumentSecurity, Definition.Security, SystemSecurity

public abstract class BaseSecurity
extends java.lang.Object
implements java.lang.Comparable<BaseSecurity>, java.io.Serializable

The BaseSecurity class provides the definition of all security within the Imaging System. The class provides a basic methods that is controlled by the sub-classes. Each sub-class of BaseSecurity defines the subset of permissions that are valid from the complete enumeration set provided by: BasePermissions The methods implemented in the BasePermissions class will check the list of valid permissions for this instance and throw the runtime IllegalArgumentException if the permission is not valid for this instance. Both Name and/or Id property can be specified, but at least one must be given. If only the Name is specified then the Type property must also be set.

See Also:
Serialized Form

Nested Class Summary
protected static class BaseSecurity.Key
           

 

Field Summary
protected  java.lang.String guid
          This represents the guid of the security member.
protected  java.lang.String name
          This represents the name of the security member.
protected  long rid
          This represents unique row id of the security member.
protected  SecurityMember.Type type
          This represents the type of member.

 

Constructor Summary
protected BaseSecurity()
          Default constructor required for JAXB serialization.
protected BaseSecurity(SecurityMember securityMember)
           

 

Method Summary
 int compareTo(BaseSecurity one)
           
 java.lang.String getGuid()
          Gets the Id property.
 java.lang.String getName()
          Gets the Name property.
abstract  BasePermissions getPermissions()
          Gets the Permissions property.
 SecurityMember.Type getType()
          Gets the Type property.
 void setGuid(java.lang.String guid)
          Sets the Guid property.
 void setName(java.lang.String name)
          Sets the Name property.
 void setType(SecurityMember.Type type)
          Sets the Type property.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

rid

protected long rid
This represents unique row id of the security member.

guid

protected java.lang.String guid
This represents the guid of the security member.

name

protected java.lang.String name
This represents the name of the security member.

type

protected SecurityMember.Type type
This represents the type of member.

Constructor Detail

BaseSecurity

protected BaseSecurity()
Default constructor required for JAXB serialization.

BaseSecurity

protected BaseSecurity(SecurityMember securityMember)

Method Detail

setGuid

public void setGuid(java.lang.String guid)
Sets the Guid property.
Parameters:
guid - The new Guid property value.

getGuid

public java.lang.String getGuid()
Gets the Id property.
Returns:
The Id property value.

setName

public void setName(java.lang.String name)
Sets the Name property. If only the Name property is specified then the Type property must also be set.
Parameters:
name - The new Name permission property value.

getName

public java.lang.String getName()
Gets the Name property.
Returns:
The Name property value.

setType

public void setType(SecurityMember.Type type)
Sets the Type property. If only the Name is specified and not the Id then this property must be set.
Parameters:
type - The new Type property value.

getType

public SecurityMember.Type getType()
Gets the Type property.
Returns:
The Type property value.

getPermissions

public abstract BasePermissions getPermissions()
Gets the Permissions property.
Returns:
The Permissions property value.

compareTo

public int compareTo(BaseSecurity one)
Specified by:
compareTo in interface java.lang.Comparable<BaseSecurity>

Skip navigation links

Oracle® Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-01


Copyright © 2010, Oracle. All rights reserved.