Class AbstractUMRootObject<T>

    • Constructor Detail

      • AbstractUMRootObject

        public AbstractUMRootObject()
    • Method Detail

      • getArtifactWebObject

        public Object getArtifactWebObject​(String artName)
      • createNew

        public javax.ws.rs.core.Response createNew​(T artifact)
      • search

        public List<T> search()
      • getArtifact

        protected abstract T getArtifact​(String id)
        Returns the artifact given its id.
      • checkPrecondition

        protected abstract void checkPrecondition​(T artifact)
        Checks the precondition to create an artifact (for instance validity, duplicate detection, guards...).
      • createArtifact

        protected abstract T createArtifact​(T artifact)
        Persist an artifact in the underlying persistence system.
      • checkCurrentUserCanCreateArtifact

        protected void checkCurrentUserCanCreateArtifact​(T artifact)