uPortal 2.3.2
API Documentation

org.jasig.portal.security
Class Permission

java.lang.Object
  extended byorg.jasig.portal.security.Permission
Direct Known Subclasses:
ReferencePermission

Deprecated. As of uPortal 2.0, replaced by IPermission

public abstract class Permission
extends java.lang.Object

Author:
Bernie Durfee (bdurfee@interactivebusiness.com)

Constructor Summary
Permission(java.lang.String owner)
          Deprecated. This constructor forces Permission objects to be created with an owner
 
Method Summary
abstract  java.lang.String getActivity()
          Deprecated. Gets the activity that this Permission is associated with
abstract  java.util.Date getEffective()
          Deprecated. Gets that date that this Permission should become effective on
abstract  java.util.Date getExpires()
          Deprecated. Gets the date that this Permission should expire on
 java.lang.String getOwner()
          Deprecated. Returns the owner of this Permission
abstract  java.lang.String getPrincipal()
          Deprecated. Returns the principal that this object is bound to
abstract  java.lang.String getTarget()
          Deprecated. Gets the target that this Permission is associated with
abstract  java.lang.String getType()
          Deprecated. Returns permission type.
abstract  void setActivity(java.lang.String activity)
          Deprecated. Sets the activity that this Permission is associated with
abstract  void setEffective(java.util.Date effective)
          Deprecated. Sets the date that this Permission should become effective on
abstract  void setExpires(java.util.Date expires)
          Deprecated. Sets the date that this Permission should expire on
abstract  void setPrincipal(java.lang.String principal)
          Deprecated. Sets the principal that this object is bound to
abstract  void setTarget(java.lang.String target)
          Deprecated. Gets the target that this Permission is associated with
abstract  void setType(java.lang.String type)
          Deprecated. Sets permission type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Permission

public Permission(java.lang.String owner)
Deprecated. 
This constructor forces Permission objects to be created with an owner

Parameters:
owner -
Method Detail

getOwner

public java.lang.String getOwner()
Deprecated. 
Returns the owner of this Permission

Returns:
owner of this Permission

getPrincipal

public abstract java.lang.String getPrincipal()
Deprecated. 
Returns the principal that this object is bound to

Returns:
principal that this object is bound to

setPrincipal

public abstract void setPrincipal(java.lang.String principal)
Deprecated. 
Sets the principal that this object is bound to

Parameters:
principal -

getActivity

public abstract java.lang.String getActivity()
Deprecated. 
Gets the activity that this Permission is associated with

Returns:
activity that this Permission is associated with

setActivity

public abstract void setActivity(java.lang.String activity)
Deprecated. 
Sets the activity that this Permission is associated with

Parameters:
activity -

getTarget

public abstract java.lang.String getTarget()
Deprecated. 
Gets the target that this Permission is associated with

Returns:
target that this Permission is associated with

setTarget

public abstract void setTarget(java.lang.String target)
Deprecated. 
Gets the target that this Permission is associated with

Parameters:
target -

getType

public abstract java.lang.String getType()
Deprecated. 
Returns permission type.

Returns:
a String value

setType

public abstract void setType(java.lang.String type)
Deprecated. 
Sets permission type.

Parameters:
type - a String value

getEffective

public abstract java.util.Date getEffective()
Deprecated. 
Gets that date that this Permission should become effective on

Returns:
date that this Permission should become effective on

setEffective

public abstract void setEffective(java.util.Date effective)
Deprecated. 
Sets the date that this Permission should become effective on

Parameters:
effective -

getExpires

public abstract java.util.Date getExpires()
Deprecated. 
Gets the date that this Permission should expire on

Returns:
date that this Permission should expire on

setExpires

public abstract void setExpires(java.util.Date expires)
Deprecated. 
Sets the date that this Permission should expire on

Parameters:
expires -

uPortal 2.3.2
API Documentation