|
||||||||||
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
InternalPrincipal
interface 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()
InternalPrincipal
Getter for the principal id.
getPrincipalId
in interface InternalPrincipal
InternalPrincipal.getPrincipalId()
public void setPrincipalId(long principalId)
InternalPrincipal
Setter for the principal id.
setPrincipalId
in interface InternalPrincipal
principalId
- The principal id.InternalPrincipal.setPrincipalId(long)
public java.lang.String getClassname()
InternalPrincipal
Getter for the principal classname.
getClassname
in interface InternalPrincipal
InternalPrincipal.getClassname()
public void setClassname(java.lang.String classname)
InternalPrincipal
Setter for the principal classname.
setClassname
in interface InternalPrincipal
classname
- The principal classname.InternalPrincipal.setClassname(java.lang.String)
public boolean isMappingOnly()
InternalPrincipal
Getter for isMappingOnly.
isMappingOnly
in interface InternalPrincipal
public void setMappingOnly(boolean isMappingOnly)
InternalPrincipal
Setter for isMappingOnly.
setMappingOnly
in interface InternalPrincipal
isMappingOnly
- The isMappingOnly to set.public java.lang.String getFullPath()
InternalPrincipal
Getter for the principal full path.
The full path allows to retrieve the principal preferences from the preferences services.
getFullPath
in interface InternalPrincipal
InternalPrincipal.getFullPath()
public void setFullPath(java.lang.String fullPath)
InternalPrincipal
Setter for the principal name.
The full path allows to retrieve the principal preferences from the preferences services.
setFullPath
in interface InternalPrincipal
fullPath
- The principal full path.InternalPrincipal.setFullPath(java.lang.String)
public java.util.Collection getPermissions()
InternalPrincipal
Getter for the principal permissions.
getPermissions
in interface InternalPrincipal
InternalPrincipal.getPermissions()
public void setPermissions(java.util.Collection permissions)
InternalPrincipal
Setter for the principal permissions.
setPermissions
in interface InternalPrincipal
permissions
- The principal permissions.InternalPrincipal.setPermissions(java.util.Collection)
public java.sql.Timestamp getCreationDate()
InternalPrincipal
Getter for creation date.
getCreationDate
in interface InternalPrincipal
InternalPrincipal.getCreationDate()
public void setCreationDate(java.sql.Timestamp creationDate)
InternalPrincipal
Setter for the creation date.
setCreationDate
in interface InternalPrincipal
creationDate
- The creation date.InternalPrincipal.setCreationDate(java.sql.Timestamp)
public java.sql.Timestamp getModifiedDate()
InternalPrincipal
Getter for the modified date.
getModifiedDate
in interface InternalPrincipal
InternalPrincipal.getModifiedDate()
public void setModifiedDate(java.sql.Timestamp modifiedDate)
InternalPrincipal
Setter for the modified date.
setModifiedDate
in interface InternalPrincipal
modifiedDate
- The modified date.InternalPrincipal.setModifiedDate(java.sql.Timestamp)
public boolean isEnabled()
InternalPrincipal
Getter for the enabled state
isEnabled
in interface InternalPrincipal
InternalPrincipal.isEnabled()
public void setEnabled(boolean enabled)
InternalPrincipal
setEnabled
in interface InternalPrincipal
enabled
- The enabled stateInternalPrincipal.setEnabled(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |