public class AuthorizableJSONWriter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GROUP
Deprecated.
|
static String |
KEY_HOME_PATH
Deprecated.
|
static String |
USER
Deprecated.
|
Constructor and Description |
---|
AuthorizableJSONWriter()
Deprecated.
Creates a default authorizable writer.
|
AuthorizableJSONWriter(ProfileManager pMgr,
Session session,
String[] outputProps,
XSSProtectionService xss)
Deprecated.
todo
|
Modifier and Type | Method and Description |
---|---|
void |
setBasic(boolean basic)
Deprecated.
Define if only basic information should be written
|
void |
setMembersLimit(int membersLimit)
Deprecated.
Sets the members limit.
|
void |
setOutputProps(String[] outputProps)
Deprecated.
Set the properties that will be present in the output.
|
void |
setXss(XSSProtectionService xss)
Deprecated.
Set XSS protection service to use to prevent from XSS attacks
|
void |
write(JSONWriter writer,
Authorizable authorizable)
Deprecated.
|
void |
write(Writer out,
Authorizable authorizable)
Deprecated.
|
void |
writeTable(Writer out,
Authorizable authorizable)
Deprecated.
|
public static final String GROUP
public static final String USER
public static final String KEY_HOME_PATH
public AuthorizableJSONWriter()
public AuthorizableJSONWriter(ProfileManager pMgr, Session session, String[] outputProps, XSSProtectionService xss)
pMgr
- the profile managersession
- the sessionoutputProps
- the output propertiesxss
- the XSS protection servicepublic void setMembersLimit(int membersLimit)
membersLimit
- the limitpublic void setOutputProps(String[] outputProps)
outputProps
- the output propertiespublic void setBasic(boolean basic)
basic
- true
to only dump basic informationpublic void setXss(XSSProtectionService xss)
xss
- public void write(JSONWriter writer, Authorizable authorizable) throws JSONException
JSONException
public void write(Writer out, Authorizable authorizable) throws JSONException
JSONException
public void writeTable(Writer out, Authorizable authorizable) throws JSONException, RepositoryException
JSONException
RepositoryException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"