Package com.basis.api.admin
Interface BBjAdminPropertyWriter
- All Superinterfaces:
BBjAdminPropertyReader,Remote
- All Known Subinterfaces:
BBjAdminAppDeploymentApplication,BBjAdminAppDeploymentConfiguration,BBjAdminAppDeploymentDemo,BBjAdminAppDeploymentResource,BBjAdminAsynchTriggerJob,BBjAdminAsynchTriggerTarget,BBjAdminAuditReplicationJob,BBjAdminAuditReplicationTarget,BBjAdminAutorun,BBjAdminAutorunProgram,BBjAdminBase,BBjAdminBBjColumn,BBjAdminBBjFile,BBjAdminBBjFile_1412,BBjAdminBBjIndex,BBjAdminBBjIndexSegment,BBjAdminBBjProcedure,BBjAdminBBjReplicationJob,BBjAdminBBjReplicationJob_1310,BBjAdminBBjReplicationTarget,BBjAdminBBjTable,BBjAdminBBjTask,BBjAdminBBjTypeDef,BBjAdminBuiApplication,BBjAdminBuiConfiguration,BBjAdminBuiDemo,BBjAdminBuiResource,BBjAdminColumn,BBjAdminCommitPropertyWriter,BBjAdminConfiguration,BBjAdminConnectionPool,BBjAdminContextInfo,BBjAdminCrossReference,BBjAdminDatabase,BBjAdminDatabase.DateHandler,BBjAdminDictionaryMigrationInfo,BBjAdminDirectoryFilter,BBjAdminDocumentIndex,BBjAdminDocumentLocation,BBjAdminElasticsearchDocumentIndex,BBjAdminEmailMessage,BBjAdminEmailService,BBjAdminESQLColumn,BBjAdminESQLIndex,BBjAdminESQLIndexSegment,BBjAdminESQLTable,BBjAdminFile,BBjAdminFilesystemServer,BBjAdminFulltextIndexValidationTask,BBjAdminGlobFilter,BBjAdminIndex,BBjAdminIndexBuilderJob,BBjAdminIndexSegment,BBjAdminJnlpApplication,BBjAdminJnlpApplication_1411,BBjAdminJnlpApplicationDesc,BBjAdminJnlpConfiguration,BBjAdminJnlpDemo,BBjAdminJnlpInfoSection,BBjAdminJnlpPlatformResourceSection,BBjAdminJnlpResourceJar,BBjAdminJnlpResourceLibrary,BBjAdminJnlpResourceNativeLib,BBjAdminJnlpResourceProperty,BBjAdminJnlpResourcesSection,BBjAdminJSON,BBjAdminLDAPSearch,BBjAdminLegacyColumn,BBjAdminLegacyIndex,BBjAdminLegacyIndexSegment,BBjAdminLegacyProcedure,BBjAdminLegacyTable,BBjAdminLegacyTypeDef,BBjAdminLegacyView,BBjAdminLuceneDocumentIndex,BBjAdminMetadataDefinition,BBjAdminOnlineCopyJobConfig,BBjAdminOnlineCopyJobFieldMapConfig,BBjAdminOnlineCopyJobFileConfig,BBjAdminPauseTask,BBjAdminPrivilege,BBjAdminProcedure,BBjAdminProcedureParameter,BBjAdminProperty,BBjAdminRegexFilter,BBjAdminReplicationBBjTask,BBjAdminReplicationFilter,BBjAdminReplicationJob,BBjAdminReplicationPauseTask,BBjAdminReplicationResumeTask,BBjAdminReplicationSCALLTask,BBjAdminReplicationStartProcess,BBjAdminReplicationTarget,BBjAdminReplicationTarget_1311,BBjAdminReplicationTask,BBjAdminReplicationTaskGroup,BBjAdminResourceUrl,BBjAdminResumeTask,BBjAdminSCALLTask,BBjAdminSecurityGroup,BBjAdminSequence,BBjAdminServer,BBjAdminServletConfiguration,BBjAdminSQLReplicationJob,BBjAdminSSLInfo,BBjAdminSystemPermission,BBjAdminTable,BBjAdminTableAnalysisJob,BBjAdminTask,BBjAdminTaskGroup,BBjAdminTaskQueue,BBjAdminTriggers,BBjAdminTypeDef,BBjAdminUserPermissions,BBjAdminView,BBjAdminWebApplication,BBjAdminWebAppServer,BBjAdminWebAppServer_1500,BBjAdminWebAppServer_1700,BBjAdminWebService,BBjAdminWebService_1311,BBjAdminWebServiceMethod
- All Known Implementing Classes:
BBjAdminClientBBjTask,BBjAdminClientPauseTask,BBjAdminClientResumeTask,BBjAdminClientSCALLTask,BBjAdminClientTaskGroup,BBjAdminRemoteWrapper,BBjAdminSimpleCommitPropWriter,BBjAdminSimpleDatabase,BBjAdminSimpleDatabase.BBjAdminSimpleDateHandler,BBjAdminSimplePropWriter,BBjAdminWebServiceMethodParameter
An interface for classes that need to write properties.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddType(String p_property, BBjAdminType p_type) Adds a type for the specified property if this object was created with the ability to add new properties.booleanIs the user allowed to add new properties?booleancanClear()Is the user allowed to clear properties?voidclear()Clear all properties that are not read only.booleanclearProperties(Set<String> p_properties) Clear a set of properties.booleanclearProperty(String p_property) Clear out the value of a property.Set the complete set of read-only properties.booleanHave properties been changed?booleanisReadOnly(String p_property) Is a given property read-only.voidsetBoolean(String p_property, boolean p_value) Set the boolean value of a property.voidSet the double value of a property.voidSet the integer value of a property.voidsetList(String p_property, BBjAdminList p_value) Set the BBjAdminList value of a property.voidSet the long value of a property.voidsetProperties(Map<String, Object> p_properties) Set properties as a group from a Map.voidSet the String value of a property.voidSet the object value of a property.Methods inherited from interface com.basis.api.admin.BBjAdminPropertyReader
checkValueEqual, contains, contains, getBoolean, getDouble, getInt, getList, getLong, getProperties, getString, getType, getTypes, getValue
-
Method Details
-
canClear
Is the user allowed to clear properties?- Throws:
BBjAdminException- TODO
-
canAddNewProperties
Is the user allowed to add new properties?- Throws:
BBjAdminException- TODO
-
hasChanged
Have properties been changed?- Throws:
BBjAdminException- TODO
-
clear
Clear all properties that are not read only.- Throws:
BBjAdminException
-
setProperties
Set properties as a group from a Map.- Parameters:
p_properties- Properties to set.- Throws:
BBjAdminException
-
clearProperties
Clear a set of properties.- Parameters:
p_properties- Property names.- Returns:
- Whether any of the properties has a non-null value.
- Throws:
BBjAdminException
-
clearProperty
Clear out the value of a property.- Parameters:
p_property- Property name.- Returns:
- Whether the property existed.
- Throws:
BBjAdminException
-
setString
Set the String value of a property. This can fail if the property needs a specific type of value or is read-only.- Parameters:
p_property- Property name.p_value- New value for the property.- Throws:
BBjAdminException
-
setList
Set the BBjAdminList value of a property. This can fail if the property is read-only.- Parameters:
p_property- Property name.p_value- New value for the property.- Throws:
BBjAdminException
-
setInt
Set the integer value of a property. This can fail if the property needs a specific type of value or is read-only.- Parameters:
p_property- Property name.p_value- New value for the property.- Throws:
BBjAdminException
-
setLong
Set the long value of a property. This can fail if the property needs a specific type of value or is read-only.- Parameters:
p_property- Property name.p_value- New value for the property.- Throws:
BBjAdminException
-
setBoolean
Set the boolean value of a property. This can fail if the property needs a specific type of value or is read-only.- Parameters:
p_property- Property name.p_value- New value for the property.- Throws:
BBjAdminException
-
setDouble
Set the double value of a property. This can fail if the property needs a specific type of value or is read-only.- Parameters:
p_property- Property name.p_value- New value for the property.- Throws:
BBjAdminException
-
setValue
Set the object value of a property. This can fail if the property needs a specific type of value or is read-only.- Parameters:
p_property- Property name.p_value- New value for the property.- Throws:
BBjAdminException
-
addType
Adds a type for the specified property if this object was created with the ability to add new properties.- Parameters:
p_property-p_type-- Throws:
BBjAdminException
-
isReadOnly
Is a given property read-only. By default they are _not_ read only.- Parameters:
p_property- Property name.- Throws:
BBjAdminException- TODO
-
getReadOnly
Set the complete set of read-only properties.- Throws:
BBjAdminException- TODO
-