public abstract class TorqueAbstractBasicUser extends TorqueAbstractSecurityEntity implements BasicUser
| Constructor and Description |
|---|
TorqueAbstractBasicUser() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(Group group) |
void |
delete()
Delete this entity
|
String |
getDatabaseName()
Get the name of the connnection pool associated to this object
|
GroupSet |
getGroups() |
<T extends Group> |
getGroupsAsSet() |
protected List<org.apache.fulcrum.security.torque.om.TorqueBasicUserGroup> |
getTorqueBasicUserGroupsJoinTorqueBasicGroup(org.apache.torque.criteria.Criteria criteria,
Connection con)
Forward reference to generated code
Get a list of association objects, pre-populated with their TorqueBasicGroup
objects.
|
void |
removeGroup(Group group) |
void |
retrieveAttachedObjects(Connection con)
Retrieve attached objects such as users, permissions,....
|
void |
retrieveAttachedObjects(Connection con,
Boolean lazy)
Retrieve attached objects such as users, permissions,....
|
void |
setGroups(GroupSet groups) |
<T extends Group> |
setGroupsAsSet(Set<T> groups) |
void |
update(Connection con)
Update this instance to the database with all dependent objects
|
getEntityId, getEntityName, getId, getName, setEntityId, setEntityName, setId, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPassword, setPasswordgetId, getName, setId, setNameprotected List<org.apache.fulcrum.security.torque.om.TorqueBasicUserGroup> getTorqueBasicUserGroupsJoinTorqueBasicGroup(org.apache.torque.criteria.Criteria criteria, Connection con) throws org.apache.torque.TorqueException
criteria - Criteria to define the selection of recordscon - a database connectionorg.apache.torque.TorqueException - if any database error occurspublic void addGroup(Group group)
addGroup in interface BasicUserBasicUser.addGroup(org.apache.fulcrum.security.entity.Group)public GroupSet getGroups()
getGroups in interface BasicUserBasicUser.getGroups()public <T extends Group> Set<T> getGroupsAsSet()
getGroupsAsSet in interface BasicUserBasicUser.getGroupsAsSet()public void removeGroup(Group group)
removeGroup in interface BasicUserBasicUser.removeGroup(org.apache.fulcrum.security.entity.Group)public void setGroups(GroupSet groups)
setGroups in interface BasicUserBasicUser.setGroups(org.apache.fulcrum.security.util.GroupSet)public <T extends Group> void setGroupsAsSet(Set<T> groups)
setGroupsAsSet in interface BasicUserBasicUser.setGroupsAsSet(java.util.Set)public void retrieveAttachedObjects(Connection con) throws DataBackendException
retrieveAttachedObjects in class TorqueAbstractSecurityEntitycon - A database connectionDataBackendException - wrapper exception: user information not found exceptionpublic void retrieveAttachedObjects(Connection con, Boolean lazy) throws DataBackendException
retrieveAttachedObjects in class TorqueAbstractSecurityEntitycon - A database connectionlazy - if true, may load some or all relationships laterDataBackendExceptionpublic void update(Connection con) throws org.apache.torque.TorqueException
update in class TorqueAbstractSecurityEntitycon - A database connectionorg.apache.torque.TorqueException - database not found exceptionpublic String getDatabaseName()
public void delete()
throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntitydelete in class TorqueAbstractSecurityEntityorg.apache.torque.TorqueException - if any database error occurs if any database operation failsTorqueAbstractSecurityEntity.delete()Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.