ccc.api.core
Class Folder

java.lang.Object
  extended by ccc.api.core.Res
      extended by ccc.api.core.Resource
          extended by ccc.api.core.Folder
All Implemented Interfaces:
java.io.Serializable

public class Folder
extends Resource

A new folder.

Author:
Civic Computing Ltd.
See Also:
Serialized Form

Field Summary
static java.lang.String EXISTS
          EXISTS : String.
static java.lang.String IMAGES
          IMAGES : String.
static java.lang.String ROOTS
          ROOTS : String.
 
Fields inherited from class ccc.api.core.Resource
ABSOLUTE_PATH, ACL, DELETE, DURATION, EXCLUDE_MM, INCLUDE_MM, LIST, LOCK, METADATA, NAME, PARENT, PUBLISH, REVISIONS, SELF, TEMPLATE, WC
 
Constructor Summary
Folder()
          Constructor.
Folder(java.util.UUID parentId, ResourceName name)
          Constructor.
 
Method Summary
 java.util.UUID getDefaultPage()
          Accessor.
 java.util.UUID getIndexPage()
          Accessor.
 java.util.Collection<java.lang.String> getSortList()
          Accessor.
 void setDefaultPage(java.util.UUID defaultPage)
          Mutator.
 void setIndexPage(java.util.UUID indexPage)
          Mutator.
 void setSortList(java.util.Collection<java.lang.String> sortList)
          Mutator.
 
Methods inherited from class ccc.api.core.Resource
duration, getAbsolutePath, getCacheDuration, getDateChanged, getDateCreated, getDescription, getId, getLockedBy, getMetadata, getMetadatum, getName, getParent, getPublishedBy, getRevision, getTags, getTemplate, getTitle, getType, isCacheable, isInMainMenu, isLocked, isPublished, isSecure, isVisible, isWorkingCopy, self, setAbsolutePath, setCacheDuration, setDateChanged, setDateCreated, setDescription, setId, setInMainMenu, setLocked, setLockedBy, setMetadata, setName, setParent, setPublished, setPublishedBy, setRevision, setSecure, setTags, setTags, setTemplate, setTitle, setType, setVisible, uriMetadata, uriTemplate
 
Methods inherited from class ccc.api.core.Res
addLink, addLinks, getLink, getLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOTS

public static final java.lang.String ROOTS
ROOTS : String.

See Also:
Constant Field Values

IMAGES

public static final java.lang.String IMAGES
IMAGES : String.

See Also:
Constant Field Values

EXISTS

public static final java.lang.String EXISTS
EXISTS : String.

See Also:
Constant Field Values
Constructor Detail

Folder

public Folder()
Constructor.


Folder

public Folder(java.util.UUID parentId,
              ResourceName name)
Constructor.

Parameters:
parentId - The folder's parent.
name - The folder's name.
Method Detail

getIndexPage

public java.util.UUID getIndexPage()
Accessor.

Returns:
Returns the indexPage.

setIndexPage

public void setIndexPage(java.util.UUID indexPage)
Mutator.

Parameters:
indexPage - The indexPage to set.

setDefaultPage

public void setDefaultPage(java.util.UUID defaultPage)
Mutator.

Parameters:
defaultPage - The defaultPage to set.

getDefaultPage

public java.util.UUID getDefaultPage()
Accessor.

Returns:
Returns the defaultPage.

getSortList

public final java.util.Collection<java.lang.String> getSortList()
Accessor.

Returns:
Returns the sort list.

setSortList

public void setSortList(java.util.Collection<java.lang.String> sortList)
Mutator.

Parameters:
sortList - The sortList to set.


Copyright © 2010. All Rights Reserved.