|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.registry.ResourceImpl
org.wso2.registry.CollectionImpl
public class CollectionImpl
Field Summary | |
---|---|
protected int |
childCount
|
Fields inherited from class org.wso2.registry.ResourceImpl |
---|
authorUserName, content, contentID, contentModified, contentStream, createdTime, dataSource, description, directory, id, lastModified, lastUpdaterUserName, matchingSnapshotID, mediaType, parentPath, path, permanentPath, properties, propertiesModified, resourceDAO, snapshotID, state, versionableChange, versionNumber |
Constructor Summary | |
---|---|
CollectionImpl()
|
|
CollectionImpl(java.lang.String[] paths)
|
Method Summary | |
---|---|
int |
getChildCount()
|
java.lang.String[] |
getChildren()
|
java.lang.String[] |
getChildren(int start,
int pageLen)
|
java.util.List<Resource> |
getChildResources()
|
java.lang.Object |
getContent()
Collection's content is a string array, which contains paths of its children. |
void |
setChildCount(int count)
|
void |
setContent(java.lang.Object content)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.wso2.registry.Resource |
---|
addAspect, addProperty, editPropertyValue, getAspects, getAuthorUserName, getContentStream, getCreatedTime, getDescription, getId, getLastModified, getLastUpdaterUserName, getMediaType, getParentPath, getPath, getPermanentPath, getProperties, getProperty, getPropertyValues, getState, removeAspect, removeProperty, removePropertyValue, setContentStream, setDescription, setMediaType, setProperties, setProperty, setProperty |
Field Detail |
---|
protected int childCount
Constructor Detail |
---|
public CollectionImpl()
public CollectionImpl(java.lang.String[] paths)
Method Detail |
---|
public void setContent(java.lang.Object content)
setContent
in interface Resource
setContent
in class ResourceImpl
public java.lang.String[] getChildren() throws RegistryException
getChildren
in interface Collection
RegistryException
public java.lang.String[] getChildren(int start, int pageLen) throws RegistryException
getChildren
in interface Collection
RegistryException
public java.util.List<Resource> getChildResources()
public int getChildCount() throws RegistryException
getChildCount
in interface Collection
RegistryException
public void setChildCount(int count)
setChildCount
in interface Collection
public java.lang.Object getContent() throws RegistryException
getContent
in interface Resource
getContent
in class ResourceImpl
RegistryException
- On any error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |