org.alfresco.web.bean.repository.tenant
Class TenantAdminConsoleBean

java.lang.Object
  extended by org.alfresco.web.bean.repository.tenant.TenantAdminConsoleBean
All Implemented Interfaces:
java.io.Serializable

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

Backing bean to support the Tenant Admin Console

See Also:
Serialized Form

Constructor Summary
TenantAdminConsoleBean()
           
 
Method Summary
 java.lang.String getCommand()
          Gets the current query
 java.lang.String getCurrentUserName()
          Gets the current user name
 long getDuration()
          Gets the last command duration
 java.lang.String getResult()
          Gets the command result
 java.lang.String getSubmittedCommand()
          Gets the submitted command
 void setCommand(java.lang.String command)
          Set the current command
 void setDuration(long duration)
          Set the duration
 void setResult(java.lang.String result)
          Sets the command result
 void setSubmittedCommand(java.lang.String submittedCommand)
          Set the submitted command
 void setTenantInterpreter(org.alfresco.repo.tenant.TenantInterpreter tenantInterpreter)
           
 java.lang.String submitCommand()
          Action to submit command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TenantAdminConsoleBean

public TenantAdminConsoleBean()
Method Detail

setTenantInterpreter

public void setTenantInterpreter(org.alfresco.repo.tenant.TenantInterpreter tenantInterpreter)
Parameters:
tenantInterpreter - tenant admin interpreter

getResult

public java.lang.String getResult()
Gets the command result

Returns:
result

setResult

public void setResult(java.lang.String result)
Sets the command result

Parameters:
result -

getCommand

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

Returns:
query statement

setCommand

public void setCommand(java.lang.String command)
Set the current command

Parameters:
command - command

getSubmittedCommand

public java.lang.String getSubmittedCommand()
Gets the submitted command

Returns:
submitted command

setSubmittedCommand

public void setSubmittedCommand(java.lang.String submittedCommand)
Set the submitted command

Parameters:
submittedCommand - The submitted command

getDuration

public long getDuration()
Gets the last command duration

Returns:
command duration

setDuration

public void setDuration(long duration)
Set the duration

Parameters:
duration - The duration

submitCommand

public java.lang.String submitCommand()
Action to submit command

Returns:
next action

getCurrentUserName

public java.lang.String getCurrentUserName()
Gets the current user name

Returns:
user name


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