|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.portals.graffito.portlets.BrowserInfo
Information on the current content folder displayed in the Graffito Browser Portlet. This is the DTO used between the velocity template et the portlet methods
Field Summary | |
static java.lang.String |
DELETE
|
static java.lang.String[] |
DOCUMENT_TYPES
All document type available |
static java.lang.String |
INSERT
|
static java.lang.String |
UPDATE
|
Constructor Summary | |
BrowserInfo(java.util.Collection documentTypes,
java.util.Collection languages)
Contructor |
Method Summary | |
org.apache.portals.graffito.model.CmsObject |
getCurrentCmsObject()
|
org.apache.portals.graffito.model.Folder |
getCurrentFolder()
|
org.apache.portals.graffito.model.Server |
getCurrentServer()
|
java.util.Collection |
getDocumentLanguages()
Get all document type that can be created in this Graffito application |
java.util.Collection |
getDocuments()
|
java.util.Collection |
getDocumentTypes()
Get all document type that can be created in this Graffito application |
java.util.ArrayList |
getFolderPath()
|
java.util.Collection |
getFolders()
|
java.lang.String |
getOperation()
|
boolean |
isEmpty()
|
void |
setCurrentCmsObject(org.apache.portals.graffito.model.CmsObject currentCmsObject)
|
void |
setCurrentFolder(org.apache.portals.graffito.model.Folder currentFolder)
|
void |
setCurrentServer(org.apache.portals.graffito.model.Server currentServer)
|
void |
setDocuments(java.util.Collection documents)
|
void |
setFolders(java.util.Collection folders)
|
void |
setOperation(java.lang.String operation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String[] DOCUMENT_TYPES
public static final java.lang.String INSERT
public static final java.lang.String UPDATE
public static final java.lang.String DELETE
Constructor Detail |
public BrowserInfo(java.util.Collection documentTypes, java.util.Collection languages)
documentTypes
- list of all available document typeslanguages
- list of all available languagesMethod Detail |
public java.util.Collection getDocumentTypes()
public java.util.Collection getDocumentLanguages()
public java.util.Collection getDocuments()
public void setDocuments(java.util.Collection documents)
documents
- The document children to set.public java.util.Collection getFolders()
public void setFolders(java.util.Collection folders)
folders
- The folders to set.public void setCurrentCmsObject(org.apache.portals.graffito.model.CmsObject currentCmsObject)
currentCmsObject
- Current Cms object to setpublic org.apache.portals.graffito.model.Folder getCurrentFolder()
public void setCurrentFolder(org.apache.portals.graffito.model.Folder currentFolder)
currentFolder
- The current folder to setpublic org.apache.portals.graffito.model.CmsObject getCurrentCmsObject()
public org.apache.portals.graffito.model.Server getCurrentServer()
public void setCurrentServer(org.apache.portals.graffito.model.Server currentServer)
currentServer
- The current server to setpublic java.util.ArrayList getFolderPath()
public java.lang.String getOperation()
public void setOperation(java.lang.String operation)
public boolean isEmpty()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |