Package com.avoka.fc.core.dao
Class PortalPropertyDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.PortalPropertyDao
Provides a DAO for the PortalProperty 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 TypeMethodDescriptiongetAllPortalProperty
(Portal portal) Gets the all portal property for a given portalboolean
getBooleanValue
(Portal portal, String name, boolean valueIfBlank) Return a portal property interpreted as a boolean value.getObjectForPK
(Object object) Return the portal property with the specified OIDboolean
getPortalPropertyBooleanValue
(Portal portal, String name, boolean valueIfBlank) Return a portal property interpreted as a boolean value.getPortalPropertyByName
(Object portalId, String name) Return the portal property with the given name for the specified portallong
getPortalPropertyLongValue
(Portal portal, String name, long valueIfBlank) Return a portal property interpreted as a numeric long value.getPortalPropertyValue
(Portal portal, String name) Return the property value for a given portal and portal property nameboolean
hasPortalProperty
(Portal portal, String name) Return the true if the portal has the given propertystatic void
Deprecated.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
-
Constructor Details
-
PortalPropertyDao
public PortalPropertyDao()
-
-
Method Details
-
invalidateCache
Deprecated.Invalidate the portal property cache.- Since:
- 4.3.3
-
getObjectForPK
Return the portal property with the specified OID- Parameters:
object
- the OID- Returns:
- the matching portal property, or null if not found
-
getPortalPropertyByName
Return the portal property with the given name for the specified portal- Parameters:
portalId
- the non-null OID of the portal associated with the propertyname
- the non-null property name- Returns:
- the matching portal property
-
getPortalPropertyValue
Return the property value for a given portal and portal property name- Parameters:
portal
- the non-null portal objectname
- the non-null property name- Returns:
- the value of the matching property, or null if the property is not set for the portal
-
getPortalPropertyBooleanValue
Return a portal property interpreted as a boolean value. If the property is not set or set to a blank value, a default value is returned.- Parameters:
portal
- the non-null portalname
- the non-empty name of the portal propertyvalueIfBlank
- the value to return if the property is not set or set to a blank value- Returns:
- the boolean value of the portal property
-
getBooleanValue
Return a portal property interpreted as a boolean value. If the property is not set or set to a blank value, a default value is returned.- Parameters:
portal
- the non-null portalname
- the non-empty name of the portal propertyvalueIfBlank
- the value to return if the property is not set or set to a blank value- Returns:
- the boolean value of the portal property
- Since:
- 4.2.0
-
getPortalPropertyLongValue
Return a portal property interpreted as a numeric long value. If the property is not set or set to a blank value, a default value is returned.- Parameters:
portal
- the non-null portalname
- the non-empty name of the portal propertyvalueIfBlank
- the value to return if the property is not set or set to a blank value- Returns:
- the long value of the portal property
-
hasPortalProperty
Return the true if the portal has the given property- Parameters:
portal
- the non-null portal objectname
- the non-null property name- Returns:
- the true if the portal has the given property
-
getAllPortalProperty
Gets the all portal property for a given portal- Parameters:
portal
- the non-null portal object- Returns:
- all portal property for a given portal
-