Package com.avoka.fc.core.dao
Class PortalResourceDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.PortalResourceDao
Provides a DAO for the PortalResource entity.
- See Also:
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetObjectForPK
(Object id) Return the portal resource with the specified OIDgetPortalResourceByPath
(Object portalId, String path) Return the portal resource with the specified path and the given portalgetPortalResourceList
(Object portalId) Return the list of portal resources for a portal, ordered by pathgetPortalResourceList
(Object portalId, Object[] portalResourceIds) Return the list of portal resources for a given portal and a set of portal resource OIDsMethods 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
-
Constructor Details
-
PortalResourceDao
public PortalResourceDao()
-
-
Method Details
-
getObjectForPK
Return the portal resource with the specified OID- Parameters:
id
- the OID- Returns:
- the matching portal resource, or null if not found
-
getPortalResourceByPath
Return the portal resource with the specified path and the given portal- Parameters:
portalId
- the non-null OID of the portalpath
- the non-null portal resource path- Returns:
- the matching portal resource
-
getPortalResourceList
Return the list of portal resources for a given portal and a set of portal resource OIDs- Parameters:
portalId
- the non-null OID of the portalportalResourceIds
- the non-null array of portal resource OIDs- Returns:
- the list of matching portal resources
-
getPortalResourceList
Return the list of portal resources for a portal, ordered by path- Parameters:
portalId
- the non-null OID of the portal- Returns:
- the list of portal resources
-