Package com.avoka.fc.core.dao
Class RolePermissionDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.AbstractDao
-
- com.avoka.fc.core.dao.RolePermissionDao
-
public class RolePermissionDao extends AbstractDao
Provides a DAO for the RolePermission entity.- See Also:
RolePermission
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description RolePermissionDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RolePermission>
getRolePermissionsForPortal(String roleId, String portalId)
Return the list of role permissions for a given role, whose permissions are associated with a specific portal-
Methods inherited from class com.avoka.fc.core.dao.AbstractDao
andFilterClientExcludeNull, andFilterClientIncludeNull, andFilterClientOnly, isClientAccessAllowed, performQueryConfigCached
-
Methods inherited from class com.avoka.core.dao.BaseDao
addOrdering, addOrderingCaseInsensitive, addOrderingCaseSensitive, andQueryBetween, andQueryInExp, andQueryInExp, andQueryLikeIgnoreCaseExp, andQueryMatchDbExp, andQueryMatchExp, andQueryMatchIsNotNull, andQueryMatchIsNull, andQueryNoMatchExp, andQueryNotTrue, deleteObject, deleteObjects, findObject, getDataContext, getFetchLimit, getLogger, getObjectForPK, newObject, orQueryLikeIgnoreCaseExp, orQueryMatchExp, performNamedQuery, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, performQuery, registerNewObject, setCacheStrategy, setFetchLimit, setLocalCacheStrategy, setLocalCacheStrategy, setSharedCacheStrategy, toMap, toMap
-
-
-
-
Method Detail
-
getRolePermissionsForPortal
public List<RolePermission> getRolePermissionsForPortal(String roleId, String portalId)
Return the list of role permissions for a given role, whose permissions are associated with a specific portal- Parameters:
roleId
- the OID of an existing roleportalId
- the OID of an existing portal- Returns:
- the list of matching role permissions
-
-