|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.sql.BaseDao com.esri.gpt.catalog.arcims.ImsPermissionDao
public class ImsPermissionDao
Database access object associated with ArcIMS service permissions.
Field Summary | |
---|---|
static String |
ROLE_ADMINISTRATOR
Administrator role - "metadata_administrator" |
static String |
ROLE_BROWSER
Browser role - "metadata_browser" |
static String |
ROLE_BROWSER_ALL
Browse all role - "metadata_browser_all" |
static String |
ROLE_PUBLISHER
Publisher role - "metadata_publisher" |
Constructor Summary | |
---|---|
protected |
ImsPermissionDao()
Default constructor. |
|
ImsPermissionDao(RequestContext requestContext)
Constructs with an associated request context. |
Method Summary | |
---|---|
void |
preparePublisher(Publisher publisher,
boolean ensureDefaultFolder)
Prepares a publisher prior to submitting a request to an ArcIMS metadata service request. |
Methods inherited from class com.esri.gpt.framework.sql.BaseDao |
---|
appendExpression, appendValueFilter, closeResultSet, closeStatement, getApplicationConfiguration, getRequestContext, logExpression, returnConnection, setRequestContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ROLE_ADMINISTRATOR
public static final String ROLE_BROWSER
public static final String ROLE_BROWSER_ALL
public static final String ROLE_PUBLISHER
Constructor Detail |
---|
protected ImsPermissionDao()
public ImsPermissionDao(RequestContext requestContext)
requestContext
- the request contextMethod Detail |
---|
public void preparePublisher(Publisher publisher, boolean ensureDefaultFolder) throws IdentityException, SQLException
publisher
- the subject publisherensureDefaultFolder
- if true also ensure that a folder exists
for the publisher
IdentityException
- if an integrity violation occurs
SQLException
- if a database exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |