public abstract class DefaultAbstractTurbineUser extends TorqueAbstractTurbineTurbineSecurityEntityDefault
User at least. Most probably the OM classes allow to implement TurbineUser, which includes User.| Constructor and Description |
|---|
DefaultAbstractTurbineUser() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this entity
|
protected <T extends TurbineUserGroupRoleModelPeerMapper> |
getTurbineUserGroupRolesJoinTurbineRole(org.apache.torque.criteria.Criteria criteria,
Connection con)
Forward reference to module generated code
Get a list of association objects, pre-populated with their TurbineRole
objects.
|
void |
retrieveAttachedObjects(Connection con)
old contract, lazy is set to
false. |
void |
retrieveAttachedObjects(Connection con,
Boolean lazy)
Retrieve attached objects such as users, permissions, ...
|
<T extends TurbineUserGroupRoleModelPeerMapper> |
retrieveAttachedObjects(Connection con,
Boolean lazy,
List<T> ugrs)
Retrieve attached objects for user: user-group-role relationship(s)
This method is required if custom peers is activated for (user) manager, to allow the custom group/role in
ACLFactory.getAccessControlList(org.apache.fulcrum.security.entity.User) |
void |
update(Connection con)
Update this instance to the database with all dependent objects
|
addUserGroupRole, addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, removeUserGroupRole, setUserGroupRoleSetgetEntityId, getEntityName, getId, getName, setEntityId, setEntityName, setId, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSetprotected <T extends TurbineUserGroupRoleModelPeerMapper> List<T> getTurbineUserGroupRolesJoinTurbineRole(org.apache.torque.criteria.Criteria criteria, Connection con) throws DataBackendException
Persistent.save() method otherwise might not update the right relationships.criteria - Criteria to define the selection of recordscon - a database connectionDataBackendException - if any database error occurspublic <T extends TurbineUserGroupRoleModelPeerMapper> void retrieveAttachedObjects(Connection con, Boolean lazy, List<T> ugrs) throws DataBackendException
TorqueAbstractTurbineTurbineSecurityEntityDefaultACLFactory.getAccessControlList(org.apache.fulcrum.security.entity.User)retrieveAttachedObjects in class TorqueAbstractTurbineTurbineSecurityEntityDefaultcon - A database connectionlazy - if true, fetches objects lazilyugrs - The custom TurbineUserGroupRole setDataBackendException - if data connection or user information (table objects) not foundpublic void retrieveAttachedObjects(Connection con, Boolean lazy) throws DataBackendException
TorqueAbstractSecurityEntityretrieveAttachedObjects in class TorqueAbstractSecurityEntitycon - A database connectionlazy - if true, may load some or all relationships laterDataBackendExceptionpublic void retrieveAttachedObjects(Connection con) throws DataBackendException
TorqueAbstractSecurityEntityfalse.retrieveAttachedObjects in class TorqueAbstractSecurityEntitycon - A database connectionDataBackendException - wrapper exception: user information not found exceptionpublic void update(Connection con) throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntityupdate in class TorqueAbstractSecurityEntitycon - A database connectionorg.apache.torque.TorqueException - database not found exceptionpublic void delete()
throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntitydelete in class TorqueAbstractSecurityEntityorg.apache.torque.TorqueException - if any database error occurs if any database operation failsCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.