Interface DirectiveInterface
- All Superinterfaces:
MetadataInterface,PublicObjectInterface,Remote,TransformationInterface
This is the class for DirectiveInterface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe public type of this object.static final StringThe Transform role of this object if is not a template.static final StringThe Transform role of this object if it is a template.Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA -
Method Summary
Modifier and TypeMethodDescriptionURIGet the hosting application Web access URI for this object type.URIGet the hosting application REST API URI for this object type.URIGet the URI used to execute a directive by internal identity.URIGet the URI used to execute a directive by path.StringGet the identity of this directive in the using application.booleanGet whether this object is a directive template or not.voidsetInternalIdentity(String internalId) Set the identity of this directive in the using application.voidsetTemplate(boolean bIsTemplate) Set this object to be a template or not.Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptorMethods inherited from interface com.sas.services.information.metadata.TransformationInterface
getTransformationSources, getTransformRole
-
Field Details
-
PUBLIC_TYPE
static final String PUBLIC_TYPEThe public type of this object.- See Also:
-
ROLE_DIRECTIVE
static final String ROLE_DIRECTIVEThe Transform role of this object if is not a template.- See Also:
-
ROLE_DIRECTIVE_TEMPLATE
static final String ROLE_DIRECTIVE_TEMPLATEThe Transform role of this object if it is a template.- See Also:
-
-
Method Details
-
isTemplate
Get whether this object is a directive template or not.- Returns:
- true if template, false otherwise.
- Throws:
RemoteException- if error getting remote environment.ServiceException
-
setTemplate
Set this object to be a template or not.- Parameters:
bIsTemplate- input boolean to set true for template, false otherwise.- Throws:
RemoteException- if error getting remote environment.ServiceException
-
getInternalIdentity
Get the identity of this directive in the using application.- Returns:
- id if found, null or empty string otherwise.
- Throws:
RemoteException- if error getting remote environment.ServiceException
-
setInternalIdentity
Set the identity of this directive in the using application. This should not be set/used outside the application that manages this object.- Parameters:
internalId- the UUID/GUID of this directive.- Throws:
RemoteException- if error getting remote environment.ServiceException
-
getExecutionURIById
Get the URI used to execute a directive by internal identity. This URI should be called with a POST action and will return a job information necessary for status of the execution. This should be used with the POST HttpMethod. The returned object should have a "link" with rel="status" to used for status. See: http://sww.sas.com/saspedia/Data_Loader_REST_API#POST_.2Fjobs_:_Run_Directive See: http://sww.sas.com/saspedia/Data_Loader_REST_API for more details.- Returns:
- URI if able to build, null otherwise.
- Throws:
RemoteException- if error contacting OMRServiceException- if error building up URI.
-
getExecutionURIByPath
Get the URI used to execute a directive by path. This URI should be called with a POST action and will return a job information necessary for status of the execution. This should be used with the POST HttpMethod. The returned object should have a "link" with rel="status" to used for status. See: http://sww.sas.com/saspedia/Data_Loader_REST_API#POST_.2Fjobs_:_Run_Directive See: http://sww.sas.com/saspedia/Data_Loader_REST_API for more details.- Returns:
- URI if able to build, null otherwise.
- Throws:
RemoteException- if error contacting OMRServiceException- if error building up URI.
-
getApplicationRestURI
Get the hosting application REST API URI for this object type. This should get you to the following API: http://sww.sas.com/saspedia/Data_Loader_REST_API- Returns:
- URI if able to build, null otherwise.
- Throws:
RemoteException- if error contacting OMRServiceException- if error building up URI.
-
getApplicationOpenURI
Get the hosting application Web access URI for this object type. This is for use in a Browser control or application. This should be used with the GET HttpMethod.- Returns:
- URI if able to build, null otherwise.
- Throws:
RemoteException- if error contacting OMRServiceException- if error building up URI.
-