| java.lang.Object org.drools.brms.server.ServiceImplementation
ServiceImplementation | public class ServiceImplementation implements RepositoryService(Code) | | This is the implementation of the repository service to drive the GWT based front end.
author: Michael Neale |
Method Summary | |
public void | archiveAsset(String uuid, boolean value) | public BuilderResult[] | buildAsset(RuleAsset asset) | public String | buildAssetSource(RuleAsset asset) | public BuilderResult[] | buildPackage(String packageUUID, String selectorConfigName) | public String | buildPackageSource(String packageUUID) | public void | changeAssetPackage(String uuid, String newPackage, String comment) | public void | changeState(String uuid, String newState, boolean wholePackage) | public String | checkinVersion(RuleAsset asset) | public void | clearRulesRepository() | public String | copyAsset(String assetUUID, String newPackage, String newName) | public void | copyOrRemoveSnapshot(String packageName, String snapshotName, boolean delete, String newSnapshotName) | public void | copyPackage(String sourcePackageName, String destPackageName) | public Boolean | createCategory(String path, String name, String description) | public String | createNewRule(String ruleName, String description, String initialCategory, String initialPackage, String format) This will create a new asset. | public String | createPackage(String name, String description) | public void | createPackageSnapshot(String packageName, String snapshotName, boolean replaceExisting, String comment) | public String | createState(String name) | public void | deleteUncheckedRule(String uuid, String initialPackage) | public byte[] | exportRepository() | public TableDataResult | listAssets(String uuid, String formats, int numRows, int startRow) | public PackageConfigData[] | listPackages() | public SnapshotInfo[] | listSnapshots(String packageName) | public String[] | listStates() | public TableDataResult | loadArchivedAssets() | public TableDataResult | loadAssetHistory(String uuid) | public String[] | loadChildCategories(String categoryPath) | public PackageConfigData | loadPackageConfig(String uuid) | public RuleAsset | loadRuleAsset(String uuid) This actually does the hard work of loading up an asset based
on its format. | public TableDataResult | loadRuleListForCategories(String categoryPath) | public SuggestionCompletionEngine | loadSuggestionCompletionEngine(String packageName) | public TableConfig | loadTableConfig(String listName) | MetaData | populateMetaData(VersionableItem item) read in the meta data, populating all dublin core and versioning stuff. | MetaData | populateMetaData(AssetItem item) Populate meta data with asset specific info. | public TableDataResult | quickFindAsset(String searchText, int max, boolean searchArchived) | public void | removeAsset(String uuid) | public void | removeCategory(String categoryPath) | public String | renameAsset(String uuid, String newName) | public String | renamePackage(String uuid, String newName) | public void | restoreVersion(String versionUUID, String assetUUID, String comment) | public ValidatedResponse | savePackage(PackageConfigData data) |
archiveAsset | public void archiveAsset(String uuid, boolean value)(Code) | | |
buildPackageSource | public String buildPackageSource(String packageUUID) throws SerializableException(Code) | | |
changeState | public void changeState(String uuid, String newState, boolean wholePackage)(Code) | | |
clearRulesRepository | public void clearRulesRepository()(Code) | | |
copyOrRemoveSnapshot | public void copyOrRemoveSnapshot(String packageName, String snapshotName, boolean delete, String newSnapshotName) throws SerializableException(Code) | | |
copyPackage | public void copyPackage(String sourcePackageName, String destPackageName) throws SerializableException(Code) | | |
createNewRule | public String createNewRule(String ruleName, String description, String initialCategory, String initialPackage, String format) throws SerializableException(Code) | | This will create a new asset. It will be saved, but not checked in.
The initial state will be the draft state.
|
createPackageSnapshot | public void createPackageSnapshot(String packageName, String snapshotName, boolean replaceExisting, String comment)(Code) | | |
deleteUncheckedRule | public void deleteUncheckedRule(String uuid, String initialPackage)(Code) | | |
exportRepository | public byte[] exportRepository() throws SerializableException(Code) | | |
listStates | public String[] listStates() throws SerializableException(Code) | | |
loadRuleAsset | public RuleAsset loadRuleAsset(String uuid) throws SerializableException(Code) | | This actually does the hard work of loading up an asset based
on its format.
|
removeCategory | public void removeCategory(String categoryPath) throws SerializableException(Code) | | |
|
|