|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.drugdev.remote.repository.NodeBean
com.sas.drugdev.remote.repository.ContainerBean
public class ContainerBean
Simple bean to represent a container. This can be constructed various ways. This class allows the user
to construct a Container
object without requiring a server call.
It is the only way to create a Container on the server. Construct a ContainerBean, then pass it into
RepositoryService.createContainer(ContainerBean)
.
It is also the only means for performing write operations on the Container, such as updating metadata or
moving and copying.
Construct a ContainerBean, then perform any setProperty methods on it and call
RepositoryService.updateNode(NodeBean)
to perform those operations on the server side.
Field Summary |
---|
Constructor Summary | |
---|---|
ContainerBean(NodeId id)
Constructor that takes only an NodeId. |
|
ContainerBean(RemoteContainer remoteContainer)
Constructor that takes a RemoteContainer. |
|
ContainerBean(java.lang.String path)
Construct a ContainerBean with just the path. |
|
ContainerBean(java.lang.String path,
Type type)
Construct the ContainerBean with a type and a path. |
Method Summary |
---|
Methods inherited from class com.sas.drugdev.remote.repository.NodeBean |
---|
getId, getPath, getProperties, getType, setProperties, setProperty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sas.drugdev.remote.repository.Node |
---|
getId, getPath, getProperties, getType |
Constructor Detail |
---|
public ContainerBean(NodeId id)
id
- id with which to populate the ContainerBeanpublic ContainerBean(RemoteContainer remoteContainer)
remoteContainer
- remoteNode with which to populate the ContainerBeanpublic ContainerBean(java.lang.String path)
path
- path with which to populate the ContainerBeanpublic ContainerBean(java.lang.String path, Type type)
path
- path of the container you are creatingtype
- type of the container you are creating
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |