|
||||||||||
| 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 | |
|---|---|
protected java.lang.String |
ojbConcreteClass
The special attribute telling OJB the object's concrete type. |
| Constructor Summary | |
|---|---|
InternalPrincipalImpl()
InternalPrincipal implementation default constructor. |
|
InternalPrincipalImpl(java.lang.String classname,
java.lang.String fullPath)
InternalPrincipal constructor given a classname and name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getClassname()
Getter for the principal classname. |
java.sql.Timestamp |
getCreationDate()
Getter for creation date. |
java.lang.String |
getFullPath()
Getter for the principal full path. |
java.sql.Timestamp |
getModifiedDate()
Getter for the modified date. |
java.util.Collection |
getPermissions()
Getter for the principal permissions. |
long |
getPrincipalId()
Getter for the principal id. |
boolean |
isEnabled()
Getter for the enabled state |
boolean |
isMappingOnly()
Getter for isMappingOnly. |
void |
setClassname(java.lang.String classname)
Setter for the principal classname. |
void |
setCreationDate(java.sql.Timestamp creationDate)
Setter for the creation date. |
void |
setEnabled(boolean enabled)
Setter for the enabled state |
void |
setFullPath(java.lang.String fullPath)
Setter for the principal name. |
void |
setMappingOnly(boolean isMappingOnly)
Setter for isMappingOnly. |
void |
setModifiedDate(java.sql.Timestamp modifiedDate)
Setter for the modified date. |
void |
setPermissions(java.util.Collection permissions)
Setter for the principal permissions. |
void |
setPrincipalId(long principalId)
Setter for the principal id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.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(java.lang.String classname,
java.lang.String fullPath)
InternalPrincipal constructor given a classname and name.
classname - The classname.fullPath - The full path.| Method Detail |
|---|
public long getPrincipalId()
InternalPrincipalGetter for the principal id.
getPrincipalId in interface InternalPrincipalInternalPrincipal.getPrincipalId()public void setPrincipalId(long principalId)
InternalPrincipalSetter for the principal id.
setPrincipalId in interface InternalPrincipalprincipalId - The principal id.InternalPrincipal.setPrincipalId(long)public java.lang.String getClassname()
InternalPrincipalGetter for the principal classname.
getClassname in interface InternalPrincipalInternalPrincipal.getClassname()public void setClassname(java.lang.String classname)
InternalPrincipalSetter for the principal classname.
setClassname in interface InternalPrincipalclassname - The principal classname.InternalPrincipal.setClassname(java.lang.String)public boolean isMappingOnly()
InternalPrincipalGetter for isMappingOnly.
isMappingOnly in interface InternalPrincipalpublic void setMappingOnly(boolean isMappingOnly)
InternalPrincipalSetter for isMappingOnly.
setMappingOnly in interface InternalPrincipalisMappingOnly - The isMappingOnly to set.public java.lang.String getFullPath()
InternalPrincipalGetter for the principal full path.
The full path allows to retrieve the principal preferences from the preferences services.
getFullPath in interface InternalPrincipalInternalPrincipal.getFullPath()public void setFullPath(java.lang.String fullPath)
InternalPrincipalSetter for the principal name.
The full path allows to retrieve the principal preferences from the preferences services.
setFullPath in interface InternalPrincipalfullPath - The principal full path.InternalPrincipal.setFullPath(java.lang.String)public java.util.Collection getPermissions()
InternalPrincipalGetter for the principal permissions.
getPermissions in interface InternalPrincipalInternalPrincipal.getPermissions()public void setPermissions(java.util.Collection permissions)
InternalPrincipalSetter for the principal permissions.
setPermissions in interface InternalPrincipalpermissions - The principal permissions.InternalPrincipal.setPermissions(java.util.Collection)public java.sql.Timestamp getCreationDate()
InternalPrincipalGetter for creation date.
getCreationDate in interface InternalPrincipalInternalPrincipal.getCreationDate()public void setCreationDate(java.sql.Timestamp creationDate)
InternalPrincipalSetter for the creation date.
setCreationDate in interface InternalPrincipalcreationDate - The creation date.InternalPrincipal.setCreationDate(java.sql.Timestamp)public java.sql.Timestamp getModifiedDate()
InternalPrincipalGetter for the modified date.
getModifiedDate in interface InternalPrincipalInternalPrincipal.getModifiedDate()public void setModifiedDate(java.sql.Timestamp modifiedDate)
InternalPrincipalSetter for the modified date.
setModifiedDate in interface InternalPrincipalmodifiedDate - The modified date.InternalPrincipal.setModifiedDate(java.sql.Timestamp)public boolean isEnabled()
InternalPrincipalGetter for the enabled state
isEnabled in interface InternalPrincipalInternalPrincipal.isEnabled()public void setEnabled(boolean enabled)
InternalPrincipal
setEnabled in interface InternalPrincipalenabled - The enabled stateInternalPrincipal.setEnabled(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||