fr.paris.lutece.plugins.jsr170.business
Class JcrRepositoryWorkspaceDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.jsr170.business.JcrRepositoryWorkspaceDAO
All Implemented Interfaces:
IWorkspaceDAO

public class JcrRepositoryWorkspaceDAO
extends java.lang.Object
implements IWorkspaceDAO


Field Summary
protected static java.lang.String NODE_ROLES
           
 
Method Summary
 void create(java.lang.String strWorkspace)
          Create a new workspace
 void delete(java.lang.String strWorkspace)
          Remove a workspace
 IWorkspace findById(java.lang.String id)
          Find a workspace by id
 IWorkspace findByName(java.lang.String strWorkspace)
          Find a workspace by name
 java.lang.String[] getAvailableWorkspaces()
          Return all availables workspace
static IWorkspaceDAO getInstance()
           
 void setLuteceUser(fr.paris.lutece.portal.service.security.LuteceUser user)
           
 void setSystemCall(boolean systemCall)
           
 void store(IWorkspace workspace)
          Modify a workspace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE_ROLES

protected static final java.lang.String NODE_ROLES
See Also:
Constant Field Values
Method Detail

getInstance

public static IWorkspaceDAO getInstance()

create

public void create(java.lang.String strWorkspace)
Description copied from interface: IWorkspaceDAO
Create a new workspace

Specified by:
create in interface IWorkspaceDAO
Parameters:
strWorkspace - the workspace name

delete

public void delete(java.lang.String strWorkspace)
Description copied from interface: IWorkspaceDAO
Remove a workspace

Specified by:
delete in interface IWorkspaceDAO
Parameters:
strWorkspace - the workspace

findById

public IWorkspace findById(java.lang.String id)
Description copied from interface: IWorkspaceDAO
Find a workspace by id

Specified by:
findById in interface IWorkspaceDAO
Parameters:
id - the workspace id
Returns:
the workspace

findByName

public IWorkspace findByName(java.lang.String strWorkspace)
Description copied from interface: IWorkspaceDAO
Find a workspace by name

Specified by:
findByName in interface IWorkspaceDAO
Parameters:
strWorkspace - the workspace name
Returns:
the workspace

getAvailableWorkspaces

public java.lang.String[] getAvailableWorkspaces()
Description copied from interface: IWorkspaceDAO
Return all availables workspace

Specified by:
getAvailableWorkspaces in interface IWorkspaceDAO
Returns:
an array with available workspace names

store

public void store(IWorkspace workspace)
Description copied from interface: IWorkspaceDAO
Modify a workspace

Specified by:
store in interface IWorkspaceDAO
Parameters:
workspace - the workspace

setLuteceUser

public void setLuteceUser(fr.paris.lutece.portal.service.security.LuteceUser user)

setSystemCall

public void setSystemCall(boolean systemCall)


Copyright © 2007 Mairie de Paris. All Rights Reserved.