Interface TurbineUserGroupRoleModelPeerMapper
- All Known Implementing Classes:
TorqueTurbineUserGroupRole
,TurbineUserGroupRole
public interface TurbineUserGroupRoleModelPeerMapper
This interface allows to retrieve user, group, role relationships either from custom or the default OM in
It should be implemented by appopriate om classes (interface may be set in schema).
- Author:
- gk
-
Method Summary
Modifier and TypeMethodDescriptionReturns the associated TurbineGroup object.getTurbineGroup
(Connection connection) Return the associated TurbineGroup object If it was not retrieved before, the object is retrieved from the database using the passed connectionReturns the associated TurbineRole object.getTurbineRole
(Connection connection) Return the associated TurbineRole object If it was not retrieved before, the object is retrieved from the database using the passed connectionReturns the associated TurbineUser object.getTurbineUser
(Connection connection) Return the associated TurbineUser object If it was not retrieved before, the object is retrieved from the database using the passed connection
-
Method Details
-
getTurbineUser
Returns the associated TurbineUser object. If it was not retrieved before, the object is retrieved from the database- Returns:
- the associated TurbineUser object
- Throws:
org.apache.torque.TorqueException
- if any database error occurs when reading from the database fails.
-
getTurbineUser
Return the associated TurbineUser object If it was not retrieved before, the object is retrieved from the database using the passed connection- Parameters:
connection
- the connection used to retrieve the associated object from the database, if it was not retrieved before- Returns:
- the associated TurbineUser object
- Throws:
org.apache.torque.TorqueException
- if any database error occurs
-
getTurbineGroup
Returns the associated TurbineGroup object. If it was not retrieved before, the object is retrieved from the database- Returns:
- the associated TurbineGroup object
- Throws:
org.apache.torque.TorqueException
- if any database error occurs when reading from the database fails.
-
getTurbineGroup
Return the associated TurbineGroup object If it was not retrieved before, the object is retrieved from the database using the passed connection- Parameters:
connection
- the connection used to retrieve the associated object from the database, if it was not retrieved before- Returns:
- the associated TurbineGroup object
- Throws:
org.apache.torque.TorqueException
- if any database error occurs
-
getTurbineRole
Returns the associated TurbineRole object. If it was not retrieved before, the object is retrieved from the database- Returns:
- the associated TurbineRole object
- Throws:
org.apache.torque.TorqueException
- if any database error occurs when reading from the database fails.
-
getTurbineRole
Return the associated TurbineRole object If it was not retrieved before, the object is retrieved from the database using the passed connection- Parameters:
connection
- the connection used to retrieve the associated object from the database, if it was not retrieved before- Returns:
- the associated TurbineRole object
- Throws:
org.apache.torque.TorqueException
- if any database error occurs
-