|
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.control.view.SelectablePublishers
public class SelectablePublishers
Defines a list of publishers selectable from the user interface.
Constructor Summary | |
---|---|
SelectablePublishers()
Default constructor. |
Method Summary | |
---|---|
void |
build(RequestContext context,
boolean forManagement)
Builds the list of selectable publishers. |
boolean |
getHasMultiple()
Determines if the items list contains multiple publishers. |
ArrayList<SelectItem> |
getItems()
Gets the SelectItem list for UI display. |
String |
getSelectedKey()
Gets the currently selected key. |
Publisher |
selectedAsPublisher(RequestContext context,
boolean forManagement)
Creates a published from the key (DN) selected within the user interface. |
void |
setSelectedKey(String key)
Sets the currently selected key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectablePublishers()
Method Detail |
---|
public boolean getHasMultiple()
public ArrayList<SelectItem> getItems()
public String getSelectedKey()
public void setSelectedKey(String key)
key
- the currently selected keypublic void build(RequestContext context, boolean forManagement)
context
- the active request contextforManagement
- true
for managementpublic Publisher selectedAsPublisher(RequestContext context, boolean forManagement) throws NotAuthorizedException, IdentityException, ImsServiceException, SQLException, CredentialsDeniedException
context
- the current request context (contains the active user)forManagement
- true if the request is in support of the metadata management page
CredentialsDeniedException
- if the selected DN is invalid
NotAuthorizedException
- if the new publisher not have publishing rights
IdentityException
- if an integrity violation occurs
ImsServiceException
- if an exception occurs when creating the default folder
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 |