|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.efaps.ui.webdav.resource.AbstractResource
org.efaps.ui.webdav.resource.CollectionResource
public class CollectionResource
| Constructor Summary | |
|---|---|
CollectionResource(WebDAVInterface _webDAVImpl,
WebDAVInterface _subWebDAVImpl,
java.lang.String _name,
org.efaps.db.Instance _instance,
java.util.Date _created,
java.util.Date _modified,
java.lang.String _description)
|
|
| Method Summary | |
|---|---|
boolean |
copy(CollectionResource _collection,
java.lang.String _newName)
Copies this collection resource to a new location. |
boolean |
createCollection(java.lang.String _name)
|
boolean |
createSource(java.lang.String _name)
|
boolean |
delete()
Deletes this collection resource. |
AbstractResource |
get(java.lang.String _name)
Returns for given name the sub collection or sub source resource. |
CollectionResource |
getCollection(java.lang.String _name)
As parent collection this collection is set. |
SourceResource |
getSource(java.lang.String _name)
As parent collection this collection is set. |
java.util.List<AbstractResource> |
getSubs()
For this collection all found sub collections and sources are returned. |
boolean |
move(CollectionResource _collection,
java.lang.String _newName)
Moves this collection resource to a new location. |
| Methods inherited from class org.efaps.ui.webdav.resource.AbstractResource |
|---|
getCreated, getDescription, getInstance, getModified, getName, getParent, getWebDAVImpl, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionResource(WebDAVInterface _webDAVImpl,
WebDAVInterface _subWebDAVImpl,
java.lang.String _name,
org.efaps.db.Instance _instance,
java.util.Date _created,
java.util.Date _modified,
java.lang.String _description)
| Method Detail |
|---|
public boolean delete()
delete in class AbstractResource
public boolean move(CollectionResource _collection,
java.lang.String _newName)
move in class AbstractResource_collection - new parent collection to move_newName - new name of the collection in the parent collection
public boolean copy(CollectionResource _collection,
java.lang.String _newName)
copy in class AbstractResource_collection - new parent collection to copy on_newName - new name of the collection in the parent collection
public java.util.List<AbstractResource> getSubs()
public AbstractResource get(java.lang.String _name)
_name - name of the resource to getgetCollection(java.lang.String),
getSource(java.lang.String)public CollectionResource getCollection(java.lang.String _name)
public boolean createCollection(java.lang.String _name)
public SourceResource getSource(java.lang.String _name)
public boolean createSource(java.lang.String _name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||