|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.security.provider.PermissionImpl
public class PermissionImpl
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
PermissionImpl(String owner)
This constructor ensures that all Permission objects are created with an owner specified. |
|
| Method Summary | |
|---|---|
String |
getActivity()
Returns the token that represents the activity associated with this IPermission. |
Date |
getEffective()
Returns the effective date that was set for this Permission. |
Date |
getExpires()
Returns the expires date that was set for this Permission. |
String |
getOwner()
Returns the owner of this Permission |
String |
getPrincipal()
Returns the token that represents the IAuthorizationPrincipal
associated with this IPermission. |
String |
getTarget()
Returns the token that represents the target associated with this IPermission. |
String |
getType()
Returns the type of permission that this is, generally GRANT or DENY |
void |
setActivity(String activity)
Specifies the token that represents the activity associated with this IPermission. |
void |
setEffective(Date effective)
Specifies the date that this IPermission will become effective. |
void |
setExpires(Date expires)
Specifies the date that this IPermission will expire. |
void |
setPrincipal(String newPrincipal)
Specifies the token that represents the IAuthorizationPrincipal
associated with this IPermission. |
void |
setTarget(String target)
Specifies the token that represents the target associated with this IPermission. |
void |
setType(String type)
Sets the IPermission type. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PermissionImpl(String owner)
owner - | Method Detail |
|---|
public String getActivity()
IPermission.
getActivity in interface IPermissionpublic Date getEffective()
getEffective in interface IPermissionpublic Date getExpires()
getExpires in interface IPermissionpublic String getOwner()
getOwner in interface IPermissionpublic String getPrincipal()
IAuthorizationPrincipal
associated with this IPermission.
getPrincipal in interface IPermissionpublic String getTarget()
IPermission.
getTarget in interface IPermissionIPermissionpublic String getType()
getType in interface IPermissionpublic void setActivity(String activity)
IPermission.
setActivity in interface IPermissionactivity - Stringpublic void setEffective(Date effective)
IPermission will become effective.
setEffective in interface IPermissioneffective - java.util.Datepublic void setExpires(Date expires)
IPermission will expire.
setExpires in interface IPermissionexpires - java.util.Datepublic void setPrincipal(String newPrincipal)
IAuthorizationPrincipal
associated with this IPermission.
setPrincipal in interface IPermissionnewPrincipal - Stringpublic void setTarget(String target)
IPermission.
setTarget in interface IPermissiontarget - Stringpublic void setType(String type)
IPermission type.
setType in interface IPermissiontype - Stringpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||