public class PreviewContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_STORE_ID |
| Constructor and Description |
|---|
PreviewContext() |
PreviewContext(String storeId)
Constructs a new preview context instance
|
PreviewContext(String storeId,
String webappId)
Constructs a new preview context instance
|
PreviewContext(String storeId,
String webappId,
String userId)
Constructs a new preview context instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStoreId()
Gets the id of the store
|
String |
getUserId()
Gets the user id
|
String |
getWebappId()
Gets the WCM web application id
This applies for the case where the store is an AVM store which
was built by Alfresco WCM.
|
void |
setStoreId(String storeId)
Sets the id of the store
|
void |
setUserId(String userId)
Sets the user id
|
void |
setWebappId(String webappId)
Sets the WCM web application id
This applies for the case where the store is an AVM store which
was built by Alfresco WCM.
|
public static final String DEFAULT_STORE_ID
public PreviewContext()
public PreviewContext(String storeId)
storeId - the store idpublic PreviewContext(String storeId, String webappId)
storeId - the store idwebappId - the WCM web application idpublic String getStoreId()
public void setStoreId(String storeId)
storeId - the store idpublic String getWebappId()
public void setWebappId(String webappId)
webappId - the WCM web application idpublic String getUserId()
public void setUserId(String userId)
userId - user idCopyright © 2005–2015 Alfresco Software. All rights reserved.