org.alfresco.web.bean.admin
Class AdminNodeBrowseBean

java.lang.Object
  extended by org.alfresco.web.bean.admin.AdminNodeBrowseBean
All Implemented Interfaces:
java.io.Serializable

public class AdminNodeBrowseBean
extends java.lang.Object
implements java.io.Serializable

Backing bean to support the Admin Node Browser

See Also:
Serialized Form

Nested Class Summary
static class AdminNodeBrowseBean.NoReadPermissionGranted
          Permission representing the fact that "Read Permissions" has not been granted
static class AdminNodeBrowseBean.NoStoreMask
           
 class AdminNodeBrowseBean.Property
          Property wrapper class
 class AdminNodeBrowseBean.SearchResults
          Wrapper class for Search Results
 
Constructor Summary
AdminNodeBrowseBean()
           
 
Method Summary
 javax.faces.model.DataModel getAspects()
          Gets the current node aspects
 javax.faces.model.DataModel getAssocs()
          Gets the current node associations
 javax.faces.model.DataModel getAVMStoreProperties()
           
 javax.faces.model.DataModel getChildren()
          Gets the current node children
 boolean getInAVMStore()
           
 boolean getInheritPermissions()
          Gets whether the current node inherits its permissions from a parent node
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Gets the selected node reference
 org.alfresco.service.namespace.QName getNodeType()
          Gets the current node type
 javax.faces.model.DataModel getParents()
          Gets the current node parents
 javax.faces.model.DataModel getPermissions()
          Gets the current node permissions
 org.alfresco.service.cmr.repository.NodeRef getPrimaryParent()
          Gets the current node primary parent reference
 java.lang.String getPrimaryPath()
          Gets the current node primary path
 javax.faces.model.DataModel getProperties()
          Gets the current node properties
 java.lang.String getQuery()
          Gets the current query
 java.lang.String getQueryLanguage()
          Gets the current query language
 java.util.List getQueryLanguages()
          Gets the list of available query languages
 java.lang.Long getSearchElapsedTime()
           
 AdminNodeBrowseBean.SearchResults getSearchResults()
          Gets the current search results
 javax.faces.model.DataModel getStorePermissionMasks()
          Gets the current node permissions
 javax.faces.model.DataModel getStores()
          Gets the list of repository stores
 java.lang.String selectChild()
          Action to select child
 java.lang.String selectNodeProperty()
          Action to select node property
 java.lang.String selectParent()
          Action to select parent
 java.lang.String selectPrimaryParent()
          Action to select primary parent
 java.lang.String selectPrimaryPath()
          Action to select primary path
 java.lang.String selectResultNode()
          Action to select search result node
 java.lang.String selectStore()
          Action to select a store
 java.lang.String selectStores()
          Action to select stores list
 java.lang.String selectToNode()
          Action to select association To node
 void setAVMService(org.alfresco.service.cmr.avm.AVMService avmService)
           
 void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
           
 void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
           
 void setQuery(java.lang.String query)
          Set the current query
 void setQueryLanguage(java.lang.String queryLanguage)
          Sets the current query language
 void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
           
 void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
           
 java.lang.String submitSearch()
          Action to submit search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminNodeBrowseBean

public AdminNodeBrowseBean()
Method Detail

setTransactionService

public void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
Parameters:
transactionService - transaction service

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Parameters:
nodeService - node service

setSearchService

public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
Parameters:
searchService - search service

setDictionaryService

public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Parameters:
dictionaryService - dictionary service

setNamespaceService

public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Parameters:
namespaceService - namespace service

setPermissionService

public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
Parameters:
permissionService - permission service

setAVMService

public void setAVMService(org.alfresco.service.cmr.avm.AVMService avmService)
Parameters:
avmService - AVM service

getStores

public javax.faces.model.DataModel getStores()
Gets the list of repository stores

Returns:
stores

getNodeRef

public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Gets the selected node reference

Returns:
node reference (defaults to system store root)

getNodeType

public org.alfresco.service.namespace.QName getNodeType()
Gets the current node type

Returns:
node type

getPrimaryPath

public java.lang.String getPrimaryPath()
Gets the current node primary path

Returns:
primary path

getPrimaryParent

public org.alfresco.service.cmr.repository.NodeRef getPrimaryParent()
Gets the current node primary parent reference

Returns:
primary parent ref

getAspects

public javax.faces.model.DataModel getAspects()
Gets the current node aspects

Returns:
node aspects

getParents

public javax.faces.model.DataModel getParents()
Gets the current node parents

Returns:
node parents

getProperties

public javax.faces.model.DataModel getProperties()
Gets the current node properties

Returns:
properties

getInheritPermissions

public boolean getInheritPermissions()
Gets whether the current node inherits its permissions from a parent node

Returns:
true => inherits permissions

getPermissions

public javax.faces.model.DataModel getPermissions()
Gets the current node permissions

Returns:
the permissions

getStorePermissionMasks

public javax.faces.model.DataModel getStorePermissionMasks()
Gets the current node permissions

Returns:
the permissions

getChildren

public javax.faces.model.DataModel getChildren()
Gets the current node children

Returns:
node children

getAssocs

public javax.faces.model.DataModel getAssocs()
Gets the current node associations

Returns:
associations

getInAVMStore

public boolean getInAVMStore()

getAVMStoreProperties

public javax.faces.model.DataModel getAVMStoreProperties()

getQueryLanguage

public java.lang.String getQueryLanguage()
Gets the current query language

Returns:
query language

setQueryLanguage

public void setQueryLanguage(java.lang.String queryLanguage)
Sets the current query language

Parameters:
queryLanguage - query language

getQuery

public java.lang.String getQuery()
Gets the current query

Returns:
query statement

setQuery

public void setQuery(java.lang.String query)
Set the current query

Parameters:
query - query statement

getQueryLanguages

public java.util.List getQueryLanguages()
Gets the list of available query languages

Returns:
query languages

getSearchResults

public AdminNodeBrowseBean.SearchResults getSearchResults()
Gets the current search results

Returns:
search results

selectStore

public java.lang.String selectStore()
Action to select a store

Returns:
next action

selectStores

public java.lang.String selectStores()
Action to select stores list

Returns:
next action

selectPrimaryPath

public java.lang.String selectPrimaryPath()
Action to select primary path

Returns:
next action

selectPrimaryParent

public java.lang.String selectPrimaryParent()
Action to select primary parent

Returns:
next action

selectParent

public java.lang.String selectParent()
Action to select parent

Returns:
next action

selectToNode

public java.lang.String selectToNode()
Action to select association To node

Returns:
next action

selectNodeProperty

public java.lang.String selectNodeProperty()
Action to select node property

Returns:
next action

selectChild

public java.lang.String selectChild()
Action to select child

Returns:
next action

selectResultNode

public java.lang.String selectResultNode()
Action to select search result node

Returns:
next action

submitSearch

public java.lang.String submitSearch()
Action to submit search

Returns:
next action

getSearchElapsedTime

public java.lang.Long getSearchElapsedTime()
Returns:
the searchElapsedTime


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.