Package com.redwood.scheduler.api.model
Interface BuiltInWebService
-
- All Superinterfaces:
Detail
,NamedDetailObject
,Readable
,SchedulerEntity
,SchedulerEntityComp
public interface BuiltInWebService extends NamedDetailObject, Readable
An object used to visualize built in web services. Provides a way to access the WSDL and WSDL URL. Individual services may be enabled/disabled through this interface.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "BuiltInWebService" objects.static String
SEC_PRIV_EDIT
This privilege can be granted at a group level.static String
SEC_RANK_ALL
This rank is made of the following privileges: editstatic String
SEC_RANK_EDIT
This rank is made of the following privileges: editstatic String
SEC_RANK_NONE
This rank has no privileges assigned to it.static QueryObjectType<BuiltInWebService>
TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.static com.redwood.scheduler.infrastructure.logging.Versions
VERSION_BUILTINWEBSERVICE
-
Fields inherited from interface com.redwood.scheduler.api.model.Detail
VERSION_DETAIL
-
Fields inherited from interface com.redwood.scheduler.api.model.NamedDetailObject
VERSION_NAMEDDETAILOBJECT
-
Fields inherited from interface com.redwood.scheduler.api.model.Readable
COPYRIGHT_MESSAGE_E, ID_E
-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM, VERSION_SCHEDULERENTITY
-
Fields inherited from interface com.redwood.scheduler.api.model.compatibility_14.SchedulerEntityComp
VERSION_SCHEDULERENTITYCOMP
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequiredPermission
checkEditPrivilege()
Check whether or not the edit action can be performed on this object.String
getWSDL_URL()
Get the value for WSDL_URL.boolean
isEnabled()
Get the value for Enabled.void
setEnabled(boolean newEnabled)
Set the value for Enabled.-
Methods inherited from interface com.redwood.scheduler.api.model.NamedDetailObject
getComment, getDescription, getName, getSearchName, setComment, setDescription, setName
-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
-
-
-
-
Field Detail
-
VERSION_BUILTINWEBSERVICE
static final com.redwood.scheduler.infrastructure.logging.Versions VERSION_BUILTINWEBSERVICE
-
OBJECT_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "BuiltInWebService" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<BuiltInWebService> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.
-
SEC_PRIV_EDIT
static final String SEC_PRIV_EDIT
This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
-
SEC_RANK_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_EDIT
static final String SEC_RANK_EDIT
This rank is made of the following privileges: edit- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static final String SEC_RANK_ALL
This rank is made of the following privileges: edit- See Also:
- Constant Field Values
-
-
Method Detail
-
getWSDL_URL
String getWSDL_URL()
Get the value for WSDL_URL. (The URL that the WSDL is published on. Calculated from the WSURL)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isEnabled
boolean isEnabled()
Get the value for Enabled. (Whether this webservice is currently enabled or not.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setEnabled
void setEnabled(boolean newEnabled)
Set the value for Enabled. (Whether this webservice is currently enabled or not.)- Parameters:
newEnabled
- the new value for Enabled.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
checkEditPrivilege
RequiredPermission checkEditPrivilege()
Check whether or not the edit action can be performed on this object.- Returns:
- a
RequiredPermission
instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
-