dekoh.portal.fwk.persistence
Class TaggedDioCollection
java.lang.Object
dekoh.portal.fwk.persistence.DigitalObject
dekoh.portal.fwk.persistence.DioCollection
dekoh.portal.fwk.persistence.TaggedDioCollection
public class TaggedDioCollection
- extends DioCollection
- Since:
- Jan 4, 2007
|
Constructor Summary |
TaggedDioCollection(DIOEntityManager em,
int resultSetPageSize,
int pageNumber,
int total,
String applicationId,
LocalUser owner,
String[] tags)
Create a collection of all DigitalObject that are tagged with *all* tags passed to this constructor. |
TaggedDioCollection(DIOEntityManager em,
int resultSetPageSize,
int pageNumber,
int total,
String applicationId,
String[] tags)
|
TaggedDioCollection(DIOEntityManager em,
LocalUser owner,
String[] tags)
See TaggedDioCollection.TaggedDioCollection(DIOEntityManager, LocalUser, String[]) TaggedDioCollection(em,
default_max_resultset_size, tags} |
| Methods inherited from class dekoh.portal.fwk.persistence.DioCollection |
addDigitalObject, getAllChildrenCount, getChildCollectionIds, getChildrenCountOfType, getChildrenOfAType, getCollectionChildren, getCollectionChildren, getCollectionChildrenCount, getDigitalObject, getDigitalObjectPage, getDigitalObjectPage, getFirstChildCollection, getFirstChildDigitalObjectId, getFirstChildDigitalObjectId, getNonCollectionChildren, getNonCollectionChildren, getNonCollectionChildrenCount, getNonCollectionChildrenIds, getNonCollectionChildrenIds, getNonCollectionChildrenQuery, getPreviewDigitalObject, getPreviewDigitalObjectAcessPath, getSortPref, getTemplateProperties, iterator, removeDigitalObject, replacePreviewDioInCollectionHierarchy, replacePreviewDioInCollectionHierarchy, setDigitalObjects, setOrAddTemplateProperties, setPreviewDioInCollectionHierarchy |
| Methods inherited from class dekoh.portal.fwk.persistence.DigitalObject |
_getDioProperty, addTag, addTag, addTags, addTags, equals, getAddTime, getCollectionCount, getCollectionIds, getContentCreationTime, getDescription, getDioCollections, getDioProperties, getDioProperty, getFirstCollection, getId, getLastCollection, getLastUpdated, getName, getOwner, getRating, getTagNames, getTags, getType, hashCode, isProtected, remove, remove, removeTag, removeTag, removeTags, setAddTime, setContentCreationTime, setDescription, setDioProperties, setLastUpdated, setName, setOrAddDioProperty, setOwner, setProtected, setRating, setTags, setType, toString |
TaggedDioCollection
public TaggedDioCollection(DIOEntityManager em,
LocalUser owner,
String[] tags)
- See
TaggedDioCollection.TaggedDioCollection(DIOEntityManager, LocalUser, String[]) TaggedDioCollection(em,
default_max_resultset_size, tags}
- Parameters:
em - - DIOEntityManagerowner - tags - - array of tags
TaggedDioCollection
public TaggedDioCollection(DIOEntityManager em,
int resultSetPageSize,
int pageNumber,
int total,
String applicationId,
String[] tags)
TaggedDioCollection
public TaggedDioCollection(DIOEntityManager em,
int resultSetPageSize,
int pageNumber,
int total,
String applicationId,
LocalUser owner,
String[] tags)
- Create a collection of all DigitalObject that are tagged with *all* tags passed to this constructor. For instance
new TaggedDioCollection(em, "moscone center","san francisco" )
wiil return all DigitalObjects tagged with words moscone center and san francisco
Name of this collection will be set to toString() of tags.
- Parameters:
em - - DIOEntityManagerresultSetPageSize - - number of results per page.pageNumber - - the results to get fromtotal - applicationId - owner - tags - list of tags to look for
getDigitalObjectPage
public Page getDigitalObjectPage()
getDigitalObject
public DigitalObject getDigitalObject(int dioId)
- Overrides:
getDigitalObject in class DioCollection
- Parameters:
dioId - primary key of the digital object looking for
- Returns:
- Digital object entity if it is part of this collection
getDigitalObjects
public Set getDigitalObjects()
- Description copied from class:
DioCollection
- Consider using
DioCollection.addDigitalObject(DigitalObject) to add new DigitalObjects to this collection.
- Overrides:
getDigitalObjects in class DioCollection
- Returns:
- current live list of digital objects.
© 2009 Pramati Technologies - Dekoh - Portal for Developers