public interface Collection extends Resource, org.wso2.carbon.registry.api.Collection
Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_ALL
Deprecated.
|
static String |
ALLOW_SELECTED
Deprecated.
|
static String |
DENY_SELECTED
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getChildCount()
Method to return the the number of children.
|
String[] |
getChildren()
Method to return the absolute paths of the children of the collection
|
String[] |
getChildren(int start,
int pageLen)
Method to return the paths of the selected range of children.
|
void |
setChildren(String[] paths)
Method to set the absolute paths of the children belonging to this collection.
|
addAspect, addProperty, discard, editPropertyValue, getAspects, getAuthorUserName, getContent, getContentStream, getCreatedTime, getDescription, getId, getLastModified, getLastUpdaterUserName, getMediaType, getParentPath, getPath, getPermanentPath, getProperties, getProperty, getPropertyValues, getState, getUUID, isVersionableChange, removeAspect, removeProperty, removePropertyValue, setContent, setContentStream, setDescription, setMediaType, setProperties, setProperty, setProperty, setUUID, setVersionableChange
@Deprecated static final String ALLOW_ALL
@Deprecated static final String ALLOW_SELECTED
@Deprecated static final String DENY_SELECTED
String[] getChildren() throws RegistryException
getChildren
in interface org.wso2.carbon.registry.api.Collection
RegistryException
- if the operation fails.String[] getChildren(int start, int pageLen) throws RegistryException
getChildren
in interface org.wso2.carbon.registry.api.Collection
start
- the starting number of children.pageLen
- the number of entries to retrieve.RegistryException
- if the operation fails.int getChildCount() throws RegistryException
getChildCount
in interface org.wso2.carbon.registry.api.Collection
RegistryException
- if the operation fails.void setChildren(String[] paths) throws RegistryException
setChildren
in interface org.wso2.carbon.registry.api.Collection
paths
- the array of absolute paths of the childrenRegistryException
- if the operation fails.Copyright © 2015 WSO2 Inc. All Rights Reserved.