public class ItemLocation extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isSystemSession
If session is system
|
protected String |
path
The path.
|
protected String |
repository
The repository.
|
protected String |
uuid
The UUID.
|
protected String |
workspace
The workspace.
|
| Constructor and Description |
|---|
ItemLocation()
Instantiates a new item location.
|
ItemLocation(ItemLocation itemLocation)
Instantiates a new item location.
|
ItemLocation(String repository,
String workspace,
String path)
Instantiates a new item location.
|
ItemLocation(String repository,
String workspace,
String path,
String uuid)
Instantiates a new item location.
|
ItemLocation(String repository,
String workspace,
String path,
String uuid,
boolean isSystem)
Instantiates a new item location.
|
| Modifier and Type | Method and Description |
|---|---|
static javax.jcr.Item |
getItemByLocation(ItemLocation itemLocation)
Get an item by a ItemLocation object.
|
static ItemLocation |
getItemLocationByItem(javax.jcr.Item item)
Get an ItemLocation object by an item
|
String |
getPath()
Gets the path.
|
String |
getRepository()
Gets the repository.
|
String |
getUUID()
Gets the uuid.
|
String |
getWorkspace()
Gets the workspace.
|
boolean |
isSystemSession()
Gets the isSystemSession.
|
void |
setPath(String path)
Sets the path.
|
void |
setRepository(String repository)
Sets the repository.
|
void |
setSystemSession(boolean value)
Sets the isSystemSession.
|
void |
setUUID(String uuid)
Sets the uuid.
|
void |
setWorkspace(String workspace)
Sets the workspace.
|
protected String repository
protected String workspace
protected String path
protected String uuid
protected boolean isSystemSession
public ItemLocation()
public ItemLocation(String repository, String workspace, String path, String uuid, boolean isSystem)
repository - the repositoryworkspace - the workspacepath - the pathuuid - the uuidisSystem - if the node session is systempublic ItemLocation(String repository, String workspace, String path, String uuid)
repository - the repositoryworkspace - the workspacepath - the pathuuid - the uuidpublic ItemLocation(String repository, String workspace, String path)
repository - the repositoryworkspace - the workspacepath - the pathpublic ItemLocation(ItemLocation itemLocation)
public String getRepository()
public void setRepository(String repository)
repository - the new repositorypublic String getWorkspace()
public void setWorkspace(String workspace)
workspace - the new workspacepublic String getPath()
public void setPath(String path)
path - the new pathpublic void setUUID(String uuid)
uuid - the new uuidpublic String getUUID()
public void setSystemSession(boolean value)
value - isSysstemSessionpublic boolean isSystemSession()
public static final ItemLocation getItemLocationByItem(javax.jcr.Item item)
item - the itempublic static final javax.jcr.Item getItemByLocation(ItemLocation itemLocation)
itemLocation - the ItemLocation objectCopyright © 2003–2019 eXo Platform SAS. All rights reserved.