org.apache.jetspeed.security.om.impl
Class InternalPermissionImpl

java.lang.Object
  extended by org.apache.jetspeed.security.om.impl.InternalPermissionImpl
All Implemented Interfaces:
Serializable, Cloneable, org.apache.jetspeed.security.om.InternalPermission

public class InternalPermissionImpl
extends Object
implements org.apache.jetspeed.security.om.InternalPermission

InternalPermission interface implementation.

Author:
David Le Strat
See Also:
Serialized Form

Field Summary
private  String actions
           
private  String classname
           
private  Timestamp creationDate
           
private  Timestamp modifiedDate
           
private  String name
           
private  long permissionId
           
private  Collection principals
           
private static long serialVersionUID
          The serial version uid.
 
Constructor Summary
InternalPermissionImpl()
          InternalPermission implementation default constructor.
InternalPermissionImpl(String classname, String name, String actions)
          InternalPermission constructor.
 
Method Summary
 boolean equals(Object object)
           
 String getActions()
           
 String getClassname()
           
 Timestamp getCreationDate()
           
 Timestamp getModifiedDate()
           
 String getName()
           
 long getPermissionId()
           
 Collection getPrincipals()
           
 void setActions(String actions)
           
 void setClassname(String classname)
           
 void setCreationDate(Timestamp creationDate)
           
 void setModifiedDate(Timestamp modifiedDate)
           
 void setName(String name)
           
 void setPermissionId(long permissionId)
           
 void setPrincipals(Collection principals)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The serial version uid.

See Also:
Constant Field Values

permissionId

private long permissionId

classname

private String classname

name

private String name

actions

private String actions

principals

private Collection principals

creationDate

private Timestamp creationDate

modifiedDate

private Timestamp modifiedDate
Constructor Detail

InternalPermissionImpl

public InternalPermissionImpl()

InternalPermission implementation default constructor.


InternalPermissionImpl

public InternalPermissionImpl(String classname,
                              String name,
                              String actions)

InternalPermission constructor.

Parameters:
classname - The classname.
name - The name.
actions - The actions.
Method Detail

getPermissionId

public long getPermissionId()
Specified by:
getPermissionId in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.getPermissionId()

setPermissionId

public void setPermissionId(long permissionId)
Specified by:
setPermissionId in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.setPermissionId(long)

getClassname

public String getClassname()
Specified by:
getClassname in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.getClassname()

setClassname

public void setClassname(String classname)
Specified by:
setClassname in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.setClassname(java.lang.String)

getName

public String getName()
Specified by:
getName in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.getName()

setName

public void setName(String name)
Specified by:
setName in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.setName(java.lang.String)

getActions

public String getActions()
Specified by:
getActions in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.getActions()

setActions

public void setActions(String actions)
Specified by:
setActions in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.setActions(java.lang.String)

getPrincipals

public Collection getPrincipals()
Specified by:
getPrincipals in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.getPrincipals()

setPrincipals

public void setPrincipals(Collection principals)
Specified by:
setPrincipals in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.setPrincipals(java.util.Collection)

getCreationDate

public Timestamp getCreationDate()
Specified by:
getCreationDate in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.getCreationDate()

setCreationDate

public void setCreationDate(Timestamp creationDate)
Specified by:
setCreationDate in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.setCreationDate(java.sql.Timestamp)

getModifiedDate

public Timestamp getModifiedDate()
Specified by:
getModifiedDate in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.getModifiedDate()

setModifiedDate

public void setModifiedDate(Timestamp modifiedDate)
Specified by:
setModifiedDate in interface org.apache.jetspeed.security.om.InternalPermission
See Also:
InternalPermission.setModifiedDate(java.sql.Timestamp)

equals

public boolean equals(Object object)
Specified by:
equals in interface org.apache.jetspeed.security.om.InternalPermission
Overrides:
equals in class Object
See Also:
InternalPermission.equals(java.lang.Object)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.