|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.delete.DeleteEntry
public class DeleteEntry
Single value of the map entries from spec.xml. A value such as "HARD;/Roi" specifies that the operation with the name "HARD" should be applied to the given path, and that the given path should use a pre-existing specification.
IDelete
Field Summary | |
---|---|
static DeleteOpts.Op |
DEFAULT
|
Constructor Summary | |
---|---|
DeleteEntry(DeleteSpec self,
String value)
|
|
DeleteEntry(DeleteSpec self,
String name,
DeleteEntry entry)
|
Method Summary | |
---|---|
protected void |
checkArgs(Object... values)
|
long |
getId()
|
protected Matcher |
getMatcher(String operation)
|
String |
getName()
|
protected String |
getName(Matcher m)
|
protected DeleteOpts.Op |
getOp(Matcher m)
|
protected String |
getPath(Matcher m)
|
DeleteSpec |
getSubSpec()
|
String |
getSuperSpec()
|
int |
initialize(long id,
String superspec,
Map<String,String> options)
Called during DeleteSpec.initialize(long, String, Map) to give
the entry a chance to modify its #op based on the options and to
initialize subspecs. |
boolean |
isKeep()
|
boolean |
isNull()
|
boolean |
isSoft()
|
String |
log(String superspec)
Similar to toString() but used to |
String[] |
path(String superspec)
|
void |
pop(DeleteOpts opts)
|
protected void |
postProcess(org.springframework.beans.factory.ListableBeanFactory factory)
Load the spec which has the same name as this entry, but do not load the spec if the name matches name . |
void |
push(DeleteOpts opts,
EventContext ec)
|
boolean |
skip()
A KEEP setting is a way of putting a KEEP suggestion to vote. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DeleteOpts.Op DEFAULT
Constructor Detail |
---|
public DeleteEntry(DeleteSpec self, String value)
public DeleteEntry(DeleteSpec self, String name, DeleteEntry entry)
Method Detail |
---|
public String getName()
public boolean isKeep()
public DeleteSpec getSubSpec()
public String getSuperSpec()
public long getId()
public String[] path(String superspec)
protected void checkArgs(Object... values)
protected Matcher getMatcher(String operation)
protected String getName(Matcher m)
protected DeleteOpts.Op getOp(Matcher m)
protected String getPath(Matcher m)
protected void postProcess(org.springframework.beans.factory.ListableBeanFactory factory)
name
. This is called early in the
DeleteEntry
lifecycle, by DeleteSpec
.
public int initialize(long id, String superspec, Map<String,String> options) throws DeleteException
DeleteSpec.initialize(long, String, Map)
to give
the entry a chance to modify its #op
based on the options and to
initialize subspecs.
The superspec is passed in so that both the absolute path as well as the
last path element can be checked. Further, a key of "/" apply to all
entries.
DeleteException
public boolean skip()
public boolean isNull()
public boolean isSoft()
public void push(DeleteOpts opts, EventContext ec) throws DeleteException
DeleteException
public void pop(DeleteOpts opts)
public String toString()
toString
in class Object
public String log(String superspec)
toString()
but used to
superspec2
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.