org.wso2.registry
Class CollectionImpl

java.lang.Object
  extended by org.wso2.registry.ResourceImpl
      extended by org.wso2.registry.CollectionImpl
All Implemented Interfaces:
Collection, Resource
Direct Known Subclasses:
CollectionVersionImpl

public class CollectionImpl
extends ResourceImpl
implements Collection


Field Summary
 
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, 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()
           
 void setChildCount(int count)
           
 void setContent(java.lang.Object content)
           
 
Methods inherited from class org.wso2.registry.ResourceImpl
addAspect, addProperty, getAspects, getAuthorUserName, getContent, getContentID, getContentStream, getCreatedTime, getDescription, getId, getLastModified, getLastUpdaterUserName, getMatchingSnapshotID, getMediaType, getParentPath, getPath, getPermanentPath, getProperties, getProperty, getPropertyValues, getState, getVersionNumber, isContentModified, isPropertiesModified, isVersionableChange, removeAspect, setAuthorUserName, setContentID, setContentModified, setContentStream, setCreatedTime, setDataSource, setDescription, setId, setLastModified, setLastUpdaterUserName, setMatchingSnapshotID, setMediaType, setParentPath, setPath, setProperties, setPropertiesModified, setProperty, setProperty, setState, setVersionableChange, setVersionNumber
 
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, getAspects, getAuthorUserName, getContent, getContentStream, getCreatedTime, getDescription, getId, getLastModified, getLastUpdaterUserName, getMediaType, getParentPath, getPath, getPermanentPath, getProperties, getProperty, getPropertyValues, getState, removeAspect, setContentStream, setDescription, setMediaType, setProperties, setProperty, setProperty
 

Constructor Detail

CollectionImpl

public CollectionImpl()

CollectionImpl

public CollectionImpl(java.lang.String[] paths)
Method Detail

setContent

public void setContent(java.lang.Object content)
Specified by:
setContent in interface Resource
Overrides:
setContent in class ResourceImpl

getChildren

public java.lang.String[] getChildren()
Specified by:
getChildren in interface Collection

getChildren

public java.lang.String[] getChildren(int start,
                                      int pageLen)
Specified by:
getChildren in interface Collection

getChildResources

public java.util.List<Resource> getChildResources()

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface Collection

setChildCount

public void setChildCount(int count)
Specified by:
setChildCount in interface Collection


Copyright © 2007 Apache Web Services Project. All Rights Reserved.