|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.security.om.impl.InternalPrincipalImpl
public class InternalPrincipalImpl
InternalPrincipal
interface implementation.
Field Summary | |
---|---|
private String |
classname
The class name. |
private Timestamp |
creationDate
The creation date. |
private boolean |
enabled
The enabled state. |
private String |
fullPath
The full path. |
private boolean |
isMappingOnly
The is mapping only. |
private Timestamp |
modifiedDate
The modified date. |
protected String |
ojbConcreteClass
The special attribute telling OJB the object's concrete type. |
private Collection |
permissions
The collection of permissions. |
private long |
principalId
The principal id. |
private static long |
serialVersionUID
The serial version uid. |
Constructor Summary | |
---|---|
InternalPrincipalImpl()
InternalPrincipal implementation default constructor. |
|
InternalPrincipalImpl(String classname,
String fullPath)
InternalPrincipal constructor given a classname and name. |
Method Summary | |
---|---|
String |
getClassname()
|
Timestamp |
getCreationDate()
|
String |
getFullPath()
|
Timestamp |
getModifiedDate()
|
Collection |
getPermissions()
|
long |
getPrincipalId()
|
boolean |
isEnabled()
|
boolean |
isMappingOnly()
|
void |
setClassname(String classname)
|
void |
setCreationDate(Timestamp creationDate)
|
void |
setEnabled(boolean enabled)
|
void |
setFullPath(String fullPath)
|
void |
setMappingOnly(boolean isMappingOnly)
|
void |
setModifiedDate(Timestamp modifiedDate)
|
void |
setPermissions(Collection permissions)
|
void |
setPrincipalId(long principalId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private long principalId
private String classname
private boolean isMappingOnly
private String fullPath
private Collection permissions
private Timestamp creationDate
private Timestamp modifiedDate
private boolean enabled
protected String ojbConcreteClass
The special attribute telling OJB the object's concrete type.
NOTE: this attribute MUST be called ojbConcreteClass
Constructor Detail |
---|
public InternalPrincipalImpl()
InternalPrincipal implementation default constructor.
public InternalPrincipalImpl(String classname, String fullPath)
InternalPrincipal constructor given a classname and name.
classname
- The classname.fullPath
- The full path.Method Detail |
---|
public long getPrincipalId()
getPrincipalId
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.getPrincipalId()
public void setPrincipalId(long principalId)
setPrincipalId
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.setPrincipalId(long)
public String getClassname()
getClassname
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.getClassname()
public void setClassname(String classname)
setClassname
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.setClassname(java.lang.String)
public boolean isMappingOnly()
isMappingOnly
in interface org.apache.jetspeed.security.om.InternalPrincipal
public void setMappingOnly(boolean isMappingOnly)
setMappingOnly
in interface org.apache.jetspeed.security.om.InternalPrincipal
isMappingOnly
- The isMappingOnly to set.public String getFullPath()
getFullPath
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.getFullPath()
public void setFullPath(String fullPath)
setFullPath
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.setFullPath(java.lang.String)
public Collection getPermissions()
getPermissions
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.getPermissions()
public void setPermissions(Collection permissions)
setPermissions
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.setPermissions(java.util.Collection)
public Timestamp getCreationDate()
getCreationDate
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.getCreationDate()
public void setCreationDate(Timestamp creationDate)
setCreationDate
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.setCreationDate(java.sql.Timestamp)
public Timestamp getModifiedDate()
getModifiedDate
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.getModifiedDate()
public void setModifiedDate(Timestamp modifiedDate)
setModifiedDate
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.setModifiedDate(java.sql.Timestamp)
public boolean isEnabled()
isEnabled
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.isEnabled()
public void setEnabled(boolean enabled)
setEnabled
in interface org.apache.jetspeed.security.om.InternalPrincipal
InternalPrincipal.setEnabled(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |