Package com.ibm.dbb.metadata
Interface ManagedObject
-
- All Superinterfaces:
MetadataObject
,com.ibm.dbb.metadata.common.MetadataStoreConstants
- All Known Subinterfaces:
BuildMap
,BuildResult
,Collection
public interface ManagedObject extends MetadataObject
-
-
Field Summary
-
Fields inherited from interface com.ibm.dbb.metadata.common.MetadataStoreConstants
AMPERSAND, AND, APPLICATION_JSON, ARTIFACT, ASC, ATTACHMENT, ATTACHMENTS, BASIC_AUTHENTICATION, BRANCH, BUILD, BUILD_REPORT, BUILD_REPORT_DATA, BUILD_RESULT, CATEGORY, CICS, COLLECTION, COMMA, CONTENT, CONTENT_TYPE, CREATED, CREATED_BY, DATASET, DATE, DEFAULT_GROUP, DEFAULT_SSL_PROTOCOLS, DEPLOY_TYPE, DESC, DLI, EQUALS, FILE, FORM_AUTHENTICATION, GROUP, GROUPS, ID, IMPACT_FILES, LABEL, LABELS, LANGUAGE, LAST_UPDATED, LAST_UPDATED_BY, LD_PREFIX, LIBRARY, LNAME, LOG, LOGICAL_DEPENDENCIES, LOGICAL_FILE, MEMBER, MINIMAL, MQ, NAME, ORDER, ORDER_BY, OWNER, PATH, PERMISSION, PROPERTIES, PROPERTY, QUESTION_MARK, QUOTE, REST, SELF, SIZE, SLASH, SOURCE, SPACE, SQL, STATE, STATUS, TEAM, TEXT_HTML, TYPE, VALUE, VERSION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getOwner()
Return the owner of the managed objectint
getPermission()
Return the permission for the managed objectjava.lang.String
getTeam()
Return the team for the managed objectvoid
setOwner(java.lang.String owner)
Set the owner of the managed objectvoid
setPermission(int permission)
Set the permission for the managed object.void
setTeam(java.lang.String team)
Set the team for the managed object-
Methods inherited from interface com.ibm.dbb.metadata.MetadataObject
getCreated, getCreatedBy, getLastUpdated, getLastUpdatedBy, toJSON, toString
-
-
-
-
Method Detail
-
getOwner
java.lang.String getOwner() throws BuildException
Return the owner of the managed object- Returns:
- the owner
- Throws:
BuildException
-
setOwner
void setOwner(java.lang.String owner) throws BuildException
Set the owner of the managed object- Parameters:
owner
- the owner of the managed object- Throws:
BuildException
-
getTeam
java.lang.String getTeam() throws BuildException
Return the team for the managed object- Returns:
- the team
- Throws:
BuildException
-
setTeam
void setTeam(java.lang.String team) throws BuildException
Set the team for the managed object- Parameters:
team
- the team for the managed object- Throws:
BuildException
-
getPermission
int getPermission() throws BuildException
Return the permission for the managed object- Returns:
- the permission
- Throws:
BuildException
-
setPermission
void setPermission(int permission) throws BuildException
Set the permission for the managed object. The permission of the object is represented by an octal number (i.e. 664) where the first octal digit is the owner permission, the second digit is the team permission, and the third digit is the permission for everyone else. The digits can be 4 (Read), 2 (Write), or 6 (Read and Write).- Parameters:
permission
- the permission for the managed object- Throws:
BuildException
-
-