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
-
public class PortalResourceDao extends AbstractDao
Provides a DAO for the PortalResource entity.- See Also:
PortalResource
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description PortalResourceDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortalResource
getObjectForPK(Object id)
Return the portal resource with the specified OIDPortalResource
getPortalResourceByPath(Object portalId, String path)
Return the portal resource with the specified path and the given portalList<PortalResource>
getPortalResourceList(Object portalId)
Return the list of portal resources for a portal, ordered by pathList<PortalResource>
getPortalResourceList(Object portalId, Object[] portalResourceIds)
Return the list of portal resources for a given portal and a set of portal resource OIDs-
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
-
getObjectForPK
public PortalResource getObjectForPK(Object id)
Return the portal resource with the specified OID- Parameters:
id
- the OID- Returns:
- the matching portal resource, or null if not found
-
getPortalResourceByPath
public PortalResource getPortalResourceByPath(Object portalId, String path)
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
public List<PortalResource> getPortalResourceList(Object portalId, Object[] portalResourceIds)
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
public List<PortalResource> getPortalResourceList(Object portalId)
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
-
-