|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.security.om.impl.InternalPrincipalImpl
public class InternalPrincipalImpl
InternalPrincipalinterface 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.InternalPrincipalInternalPrincipal.getPrincipalId()public void setPrincipalId(long principalId)
setPrincipalId in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.setPrincipalId(long)public String getClassname()
getClassname in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.getClassname()public void setClassname(String classname)
setClassname in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.setClassname(java.lang.String)public boolean isMappingOnly()
isMappingOnly in interface org.apache.jetspeed.security.om.InternalPrincipalpublic void setMappingOnly(boolean isMappingOnly)
setMappingOnly in interface org.apache.jetspeed.security.om.InternalPrincipalisMappingOnly - The isMappingOnly to set.public String getFullPath()
getFullPath in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.getFullPath()public void setFullPath(String fullPath)
setFullPath in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.setFullPath(java.lang.String)public Collection getPermissions()
getPermissions in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.getPermissions()public void setPermissions(Collection permissions)
setPermissions in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.setPermissions(java.util.Collection)public Timestamp getCreationDate()
getCreationDate in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.getCreationDate()public void setCreationDate(Timestamp creationDate)
setCreationDate in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.setCreationDate(java.sql.Timestamp)public Timestamp getModifiedDate()
getModifiedDate in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.getModifiedDate()public void setModifiedDate(Timestamp modifiedDate)
setModifiedDate in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.setModifiedDate(java.sql.Timestamp)public boolean isEnabled()
isEnabled in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.isEnabled()public void setEnabled(boolean enabled)
setEnabled in interface org.apache.jetspeed.security.om.InternalPrincipalInternalPrincipal.setEnabled(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||