|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.doui.processaction.ProcessActionHandler<Source<?>>
lumis.service.resourcescheduler.ResourceValidatorProcessActionHandler
public class ResourceValidatorProcessActionHandler
Does not allow resources to have duplicated names.
Field Summary |
---|
Constructor Summary | |
---|---|
ResourceValidatorProcessActionHandler()
|
Method Summary | |
---|---|
boolean |
isNameInUse(java.lang.String contentName,
java.lang.String serviceInstanceId,
java.lang.String itemId)
Indicates if a name is in use by another resource. |
void |
processAction()
If the name is in use by another resource in same service instance, throws an exception. |
Methods inherited from class lumis.doui.processaction.ProcessActionHandler |
---|
addDefaultResponse, addResponseParameter, checkServiceInstancePermission, checkServiceInstancePermission, getId, getParameter, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode, setParameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceValidatorProcessActionHandler()
Method Detail |
---|
public void processAction() throws PortalException
PortalException
public boolean isNameInUse(java.lang.String contentName, java.lang.String serviceInstanceId, java.lang.String itemId) throws PortalException
contentName
- the name of the resource.serviceInstanceId
- the resource's service instance identifier.itemId
- the resource's identifier if it is being edited, or null if it is being added.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |