public interface Profile extends RelationalObject
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static KomodoType |
IDENTIFIER
Identifier of this object
|
static Profile[] |
NO_PROFILES
An empty array of Profiles
|
static TypeResolver<Profile> |
RESOLVER
The resolver of a
Profile . |
static int |
TYPE_ID
The type identifier.
|
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
GitRepository |
addGitRepository(Repository.UnitOfWork transaction,
String repoName,
URL url,
String user,
String password) |
ViewEditorState |
addViewEditorState(Repository.UnitOfWork transaction,
String stateId) |
GitRepository[] |
getGitRepositories(Repository.UnitOfWork transaction,
String... namePatterns) |
ViewEditorState[] |
getViewEditorStates(Repository.UnitOfWork transaction,
String... namePatterns) |
void |
removeGitRepository(Repository.UnitOfWork transaction,
String gitRepoToRemove) |
void |
removeViewEditorState(Repository.UnitOfWork transaction,
String viewEditorStateId) |
getFilters, setFilters
accept, addChild, addDescriptor, getChild, getChild, getChildren, getChildrenOfType, getChildTypes, getDescriptor, getDescriptors, getIndex, getObjectFactory, getPrimaryType, getProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyFactory, getPropertyNames, getRawChildren, getRawDescriptors, getRawParent, getRawProperty, getRawPropertyDescriptors, getRawPropertyNames, getTypeId, getTypeIdentifier, hasChild, hasChild, hasChildren, hasDescriptor, hasProperties, hasProperty, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, isChildRestricted, print, remove, removeChild, removeDescriptor, rename, setPrimaryType, setProperty
getAbsolutePath, getName, getParent, getRepository
static final int TYPE_ID
static final KomodoType IDENTIFIER
static final Profile[] NO_PROFILES
static final TypeResolver<Profile> RESOLVER
Profile
.GitRepository addGitRepository(Repository.UnitOfWork transaction, String repoName, URL url, String user, String password) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)repoName
- the name of the git repository being added (cannot be empty)url
- the url of the git repositoryuser
- the user name required to connect to the repositorypassword
- the password required to connect to the repositorynull
)KException
- if an error occursGitRepository[] getGitRepositories(Repository.UnitOfWork transaction, String... namePatterns) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)namePatterns
- optional name patterns (can be null
or empty but cannot have null
or empty elements)null
but can be empty)KException
- if an error occursvoid removeGitRepository(Repository.UnitOfWork transaction, String gitRepoToRemove) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)gitRepoToRemove
- the name of the git repository being removed (cannot be empty)KException
- if an error occursViewEditorState addViewEditorState(Repository.UnitOfWork transaction, String stateId) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)stateId
- the id of the view editor statenull
)KException
- if an error occursViewEditorState[] getViewEditorStates(Repository.UnitOfWork transaction, String... namePatterns) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)namePatterns
- optional name patterns (can be null
or empty but cannot have null
or empty elements)null
but can be empty)KException
- if an error occursvoid removeViewEditorState(Repository.UnitOfWork transaction, String viewEditorStateId) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)viewEditorStateId
- the id of the viewEditorState being removed (cannot be empty)KException
- if an error occursCopyright © 2013–2019. All rights reserved.