Class MetadataDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<MetadataEntity,Long>
org.exoplatform.social.core.jpa.storage.dao.jpa.MetadataDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<MetadataEntity,Long>
public class MetadataDAO
extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<MetadataEntity,Long>
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcountMetadataIdsByProperty(String propertyKey, String propertyValue) findMetadata(long type, String name, long audienceId) findMetadataNameByAudiencesAndQuery(String term, long metadataTypeId, Set<Long> audienceIds, long limit) findMetadataNameByCreatorAndQuery(String term, long metadataTypeId, long creatorIdentityId, long limit) findMetadataNamesByUserAndQuery(String term, long metadataTypeId, long creatorIdentityId, Set<Long> audienceIds, long limit) getMetadataIds(long type, int offset, int limit) getMetadataIdsByProperty(String propertyKey, String propertyValue, long offset, long limit, boolean orderByName) getMetadataNamesByAudiences(long metadataTypeId, Set<Long> audienceIds, long limit) getMetadataNamesByCreator(long metadataTypeId, long creatorIdentityId, long limit) getMetadataNamesByUser(long metadataTypeId, long creatorIdentityId, Set<Long> audienceIds, long limit) getMetadatas(long type, long limit) Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Constructor Details
-
MetadataDAO
public MetadataDAO()
-
-
Method Details
-
getMetadataNamesByAudiences
-
getMetadataNamesByCreator
-
getMetadataNamesByUser
-
findMetadataNameByAudiencesAndQuery
-
findMetadataNameByCreatorAndQuery
-
findMetadataNamesByUserAndQuery
-
findMetadata
-
getMetadatas
-
getMetadataIds
-
getMetadataIdsByProperty
-
countMetadataIdsByProperty
-