uPortal 2.3.2
API Documentation

org.jasig.portal.security.provider
Class ReferencePermission

java.lang.Object
  extended byorg.jasig.portal.security.Permission
      extended byorg.jasig.portal.security.provider.ReferencePermission

Deprecated. As of uPortal 2.0, replaced by PermissionImpl

public class ReferencePermission
extends Permission

Author:
Bernie Durfee (bdurfee@interactivebusiness.com)

Constructor Summary
ReferencePermission(java.lang.String owner)
          Deprecated. This constructor ensures that all Permission objects are created with an owner specified.
 
Method Summary
 java.lang.String getActivity()
          Deprecated. Returns the token that represents the activity that this Permission is associated with.
 java.util.Date getEffective()
          Deprecated. Returns the effective date that was set for this Permission.
 java.util.Date getExpires()
          Deprecated. Returns the expires date that was set for this Permission.
 java.lang.String getPrincipal()
          Deprecated. Returns the token that represents the principal that this Permission is associated with.
 java.lang.String getTarget()
          Deprecated. Returns the token that represents the target that this Permission is associated with.
 java.lang.String getType()
          Deprecated. Returns the type of permission that this is, generally GRANT or DENY
 void setActivity(java.lang.String activity)
          Deprecated. Specifies the token that represents the activity that this Permission is associated with.
 void setEffective(java.util.Date effective)
          Deprecated. Specifies the date that this Permission will become effective.
 void setExpires(java.util.Date expires)
          Deprecated. Specifies the date that this Permission will expire.
 void setPrincipal(java.lang.String principal)
          Deprecated. Specifies the token that represents the principal that this Permission is associated with.
 void setTarget(java.lang.String target)
          Deprecated. Specifies the token that represents the target that this Permission is associated with.
 void setType(java.lang.String type)
          Deprecated. Sets the permission type
 
Methods inherited from class org.jasig.portal.security.Permission
getOwner
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferencePermission

public ReferencePermission(java.lang.String owner)
Deprecated. 
This constructor ensures that all Permission objects are created with an owner specified.

Parameters:
owner -
Method Detail

getPrincipal

public java.lang.String getPrincipal()
Deprecated. 
Returns the token that represents the principal that this Permission is associated with.

Specified by:
getPrincipal in class Permission
Returns:
token that represents the principal that this Permission is associated with

setPrincipal

public void setPrincipal(java.lang.String principal)
Deprecated. 
Specifies the token that represents the principal that this Permission is associated with.

Specified by:
setPrincipal in class Permission
Parameters:
principal -

getActivity

public java.lang.String getActivity()
Deprecated. 
Returns the token that represents the activity that this Permission is associated with.

Specified by:
getActivity in class Permission
Returns:
token that represents the activity that this Permission is associated with

setActivity

public void setActivity(java.lang.String activity)
Deprecated. 
Specifies the token that represents the activity that this Permission is associated with.

Specified by:
setActivity in class Permission
Parameters:
activity -

getTarget

public java.lang.String getTarget()
Deprecated. 
Returns the token that represents the target that this Permission is associated with.

Specified by:
getTarget in class Permission
Returns:
target that this Permission is associated with

setTarget

public void setTarget(java.lang.String target)
Deprecated. 
Specifies the token that represents the target that this Permission is associated with.

Specified by:
setTarget in class Permission
Parameters:
target -

getType

public java.lang.String getType()
Deprecated. 
Returns the type of permission that this is, generally GRANT or DENY

Specified by:
getType in class Permission
Returns:
type of permission that this is, generally GRANT or DENY

setType

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

Specified by:
setType in class Permission
Parameters:
type -

getEffective

public java.util.Date getEffective()
Deprecated. 
Returns the effective date that was set for this Permission.

Specified by:
getEffective in class Permission
Returns:
effective date that was set for this Permission

setEffective

public void setEffective(java.util.Date effective)
Deprecated. 
Specifies the date that this Permission will become effective.

Specified by:
setEffective in class Permission
Parameters:
effective -

getExpires

public java.util.Date getExpires()
Deprecated. 
Returns the expires date that was set for this Permission.

Specified by:
getExpires in class Permission
Returns:
expires date that was set for this Permission

setExpires

public void setExpires(java.util.Date expires)
Deprecated. 
Specifies the date that this Permission will expire.

Specified by:
setExpires in class Permission
Parameters:
expires -

uPortal 2.3.2
API Documentation