|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGCUBEWSResource
org.gcube.dir.master.state.CollectionSet
public class CollectionSet
A set of Collection
s.
Constructor Summary | |
---|---|
CollectionSet()
|
Method Summary | |
---|---|
void |
addCollections(java.lang.String... ids)
Adds one or more collections to the set. |
java.util.List<java.lang.String> |
getCollectionIDs()
Returns the identifiers of the the collections in the set. |
java.util.Map<java.lang.String,Collection> |
getCollections(java.lang.String... ids)
Returns one or more collection in the set. |
long |
getDocumentSize()
Returns the total number of documents of the collections in the set. |
java.lang.String[] |
getPropertyNames()
|
int |
getSize()
Returns the number of collections in the set. |
void |
removeCollections(java.lang.String... ids)
Remove one or more collections from the set. |
void |
setCollectionIDs(java.util.List<java.lang.String> ids)
Sets the identifiers of the collections in the set. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionSet()
Method Detail |
---|
public int getSize()
public java.util.List<java.lang.String> getCollectionIDs()
public void setCollectionIDs(java.util.List<java.lang.String> ids)
public java.util.Map<java.lang.String,Collection> getCollections(java.lang.String... ids)
(optional)
- ids the identifiers of the collections to return. If omitted, it returns all the collections in the set.
public long getDocumentSize()
public void addCollections(java.lang.String... ids) throws java.lang.Exception
java.lang.Exception
public void removeCollections(java.lang.String... ids)
ids
- the collection identifiers.public java.lang.String[] getPropertyNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |