fr.paris.lutece.plugins.jcr.business.admin
Class AdminView

java.lang.Object
  extended by fr.paris.lutece.plugins.jcr.business.admin.AdminView
All Implemented Interfaces:
fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class AdminView
extends Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

Maps a workspace on a given JCR. It defines additionnal informations for the connection (login/password).


Constructor Summary
AdminView()
           
 
Method Summary
 int getId()
           
 String getName()
           
 String getPath()
           
 String getWorkgroup()
           
 int getWorkspaceId()
           
 String getXml()
          Returns the xml representation of this adminview
static void init()
          Initialize the AdminView
 void setId(int id)
           
 void setName(String name)
           
 void setPath(String path)
           
 void setWorkgroup(String workgroup)
           
 void setWorkspaceId(int workspaceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminView

public AdminView()
Method Detail

init

public static void init()
Initialize the AdminView


getPath

public String getPath()
Returns:
a reference to the root node (UUID) or null if undef

setPath

public void setPath(String path)
Parameters:
path - the UUID

getId

public int getId()
Returns:
the id of this view

setId

public void setId(int id)
Parameters:
id - the id of this view

getName

public String getName()
Returns:
the name of this view

setName

public void setName(String name)
Parameters:
name - the name of this view

getWorkgroup

public String getWorkgroup()
Specified by:
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Returns:
the workgroup allowed for this view
See Also:
AdminWorkgroupResource.getWorkgroup()

setWorkgroup

public void setWorkgroup(String workgroup)
Parameters:
workgroup - the workgroup

getWorkspaceId

public int getWorkspaceId()
Returns:
the id of the workspace associated with this view

setWorkspaceId

public void setWorkspaceId(int workspaceId)
Parameters:
workspaceId - the workspace id

getXml

public String getXml()
Returns the xml representation of this adminview

Returns:
an xml string


Copyright © 2014 Mairie de Paris. All Rights Reserved.