uPortal 2.4.1
API Documentation

org.jasig.portal.security
Interface IPermission

All Known Implementing Classes:
PermissionImpl

public interface IPermission

Version:
$Revision: 1.5 $
Author:
Bernie Durfee (bdurfee@interactivebusiness.com), Dan Ellentuck

Field Summary
static java.lang.String CHANNEL_PREFIX
           
static java.lang.String CHANNEL_PUBLISHER_ACTIVITY
           
static java.lang.String CHANNEL_SUBSCRIBER_ACTIVITY
           
static java.lang.String PERMISSION_TYPE_DENY
           
static java.lang.String PERMISSION_TYPE_GRANT
           
static java.lang.String PORTAL_FRAMEWORK
           
 
Method Summary
 java.lang.String getActivity()
          Gets the activity associated with this IPermission.
 java.util.Date getEffective()
          Gets that date that this IPermission should become effective on.
 java.util.Date getExpires()
          Gets the date that this IPermission should expire on.
 java.lang.String getOwner()
          Returns the owner of this IPermission.
 java.lang.String getPrincipal()
          Returns a String representing the IAuthorizationPrincipal associated with this IPermission.
 java.lang.String getTarget()
          Gets the target associated with this IPermission.
 java.lang.String getType()
          Returns the Permission type.
 void setActivity(java.lang.String activity)
          Sets the activity associated with this IPermission.
 void setEffective(java.util.Date effective)
          Sets the date that this IPermission should become effective on.
 void setExpires(java.util.Date expires)
          Sets the date that this IPermission should expire on.
 void setPrincipal(java.lang.String newPrincipal)
          Sets the principal String representing the IAuthorizationPrincipal associated with this IPermission.
 void setTarget(java.lang.String target)
          Sets the target associated with this IPermission.
 void setType(java.lang.String type)
          Sets the IPermission type.
 

Field Detail

CHANNEL_PUBLISHER_ACTIVITY

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

CHANNEL_SUBSCRIBER_ACTIVITY

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

PERMISSION_TYPE_GRANT

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

PERMISSION_TYPE_DENY

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

PORTAL_FRAMEWORK

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

CHANNEL_PREFIX

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

getActivity

public java.lang.String getActivity()
Gets the activity associated with this IPermission.

Returns:
String

getEffective

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

Returns:
date that this IPermission should become effective on

getExpires

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

Returns:
date that this IPermission should expire on

getOwner

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

Returns:
owner of this IPermission

getTarget

public java.lang.String getTarget()
Gets the target associated with this IPermission.

Returns:
target associated with this IPermission

getType

public java.lang.String getType()
Returns the Permission type.


setActivity

public void setActivity(java.lang.String activity)
Sets the activity associated with this IPermission.

Parameters:
activity - String

setEffective

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

Parameters:
effective - java.util.Date

setExpires

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

Parameters:
expires - java.util.Date

setTarget

public void setTarget(java.lang.String target)
Sets the target associated with this IPermission.

Parameters:
target -

setType

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

Parameters:
type - String

getPrincipal

public java.lang.String getPrincipal()
Returns a String representing the IAuthorizationPrincipal associated with this IPermission.

Returns:
IAuthorizationPrincipal associated with this IPermission

setPrincipal

public void setPrincipal(java.lang.String newPrincipal)
Sets the principal String representing the IAuthorizationPrincipal associated with this IPermission.

Parameters:
newPrincipal - String

uPortal 2.4.1
API Documentation